00:00Hi guys, welcome to Python tutorial for beginners.
00:03So today we will going to discuss introduction to the Python, we will install Python, we will
00:08write our first program.
00:10So without any delay and without any delay, let's start our video.
00:15First we will going to discuss definition of Python.
00:19Python is a high level programming language that is easy to learn and widely used in various
00:24industries and fields such as data science, web development and artificial intelligence.
00:29So here is the definition of Python and other uses.
00:32Let's begin to install Python, setting up Python environment.
00:37Now come to your Chrome and type python.org and hit enter.
00:46When you come to the website, click on the download section and download the Python according to
00:52your operating system.
00:53I have already installed Python on my PC.
00:56So I don't need to download it again.
00:59So I will not do that.
01:01Now next we will going to install our visual studio code that is our text editor.
01:09Now let's take a new tab and type VS code download.
01:15Click on the first link.
01:18Yes.
01:18Now here is the three types of visual studio code that you can download Windows, Linux and
01:25Mac.
01:26I have a window so you have to just click on the user installer.
01:30Okay.
01:30If you have 32 bit then you will click on 32.
01:33If you have 64g then you can click on 64.
01:36After downloading both of these applications, we will now going to move further writing our
01:45first Python program.
01:47Open up your visual studio code.
01:50Okay.
01:55Now after open up your visual studio code.
02:01I have already created a folder on my desktop.
02:05That is named as a code where I have some random files that in order to Python.
02:10But what we gonna do this.
02:14Let me show you just drag the folder in a visual studio code.
02:18Now you can work on that code and code folder sorry.
02:26Now in the new file section create a new file main.py that's our first Python file.
02:37Okay so here we have created our first Python file.
02:41Now let me check out our Python is installed or not.
02:46Just open up your cmd and type python dash dash and version.
03:01If your version is actually invisible to you then it means that your Python has been installed
03:07on your PC or operating system.
03:10My Python has been installed so it is showing me the version of my Python.
03:17Now let's go into the folder where I have my Python file cd.
03:25Now I am actually in my folder where I have located my Python file.
03:32Now let's come to the VS code again and setting out print and in quotation marks hello world.
03:42This print statement actually print hello world on my console or terminal.
03:47If you don't understand what is print don't worry I will explain in the next upcoming videos.
03:52So just I have to execute that file Python name of that file main.py and hit the enter button.
04:01Now you can see guys the output has to be showing hello world.
04:06So you can also run your code in visual studio code you have to just click on the play button
04:12that is on top right side of your visual studio code as you can see I have run my visual
04:18studio
04:19with the python file.
04:23You have to just enter out the path where you download your python then that's all you need
04:30to run your python file in a visual studio code.
04:35So here is for all today.
04:36If you really like this video then do subscribe, like, share and never forget to press the bell
04:43icon to click on notifications of our new video.
Comments