How to install python on windows 10/11 and run in Visual Studio Code

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hey guys welcome back to Engineers Hub today in this video you can learn to install Python and run on Visual Studio code you can open any of your browser I'm using Chrome so on my Google Chrome I can simply type Python and just press enter so in the first result you can see python.org you can simply click on this this is the official page of python and here you just need to hover on downloads and you can see here download for Windows here you can also see the latest version let's click on this Python 3.2.3 and here it's indicating that python 3.9 plus can't be used on earlier windows so make sure you have your windows above it the download is on progress you have to wait for a while and after it's been downloaded you need to click on exe file and here let's enable adding python.exe to path and in our custom installation we should enable all of it then simply click on next here I'm going to enable the first option that is installing python for users you can also choose your desired location and I'm simply going to click on install so let's wait for setup to be completed and you can see message setup was successful and you can simply click on close now you can go to the power cell or command prompt so on my command prompt here let me type python version so you can see it's showing our downloaded version that means we have successfully installed python on our machine now in order to run python in vs code you should have Visual Studio code installed on your system I had also made a video on how you can install Visual Studio code on Windows I'm going to provide the link of that video on my description below do check it out so after installing vs code you can search Visual Studio code on S bar and let's open it and here I'm simply going to click on open folder and in desktop I'm going to create a new folder named Python tutorial and simply click on select folder now you need to create new file and I'm going to name it test. Pi so Pi indicates that the file is a python script we can see if I create this file we are also getting message for installing python extension it's because we haven't configured python in our vs code so you need to click on extensions in the sarch bar you can simply type python and here you need to click on install now we have successfully installed it and we can run our project now let me go back to my file and let's print hello python here so just right click on this and you can see run python here and you need to click on run python file in terminal and you can see here message hello python in our terminal so that was all for setting python in our vs code in this video we have successfully insted inst python on our windows and ran on Visual Studio code thank you guys for watching this video [Music]
Info
Channel: Engineers Hub
Views: 221
Rating: undefined out of 5
Keywords:
Id: ePDacGvBTZk
Channel Id: undefined
Length: 6min 20sec (380 seconds)
Published: Sun May 19 2024
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.