Goals:
- Download the Python setup.
- Install Python.
- Download the VScode setup.
- Install VScode.
- Install the VScode extension “Python”.
- Run you first python.py script.
- Video tutorial complete.
Download Python:
Go to Python official page : [Link]. And drop down Downloads, click “windows” in sub menu.
Now, Under “Stable Releases”, scroll down and search for the required version. As I need to install python’s latest version for “windows 64-bit”, will select “Windows installer (64-bit)”, you can check whether your windows version is 64 or 32 bit, just visit Microsoft : [windows version].
Install Python:
Open the downloaded python installer, you will see this window as shown in image below. Check the “ADD pathon.exe to PATH” then click on “Install Now”.
Python installation successful.
Download VScode:
Go to VScode official page : [Link]. And click on Download at right top corner.
As we don’t want the vscode to run for all users, we will install “User Installer”. Click on x64 in front of User Installer to downloads it.
Install VScode:
Open the vscode .exe you download.
Click “I accept the agreement”, and keep clicking Next. If you want shortcut of vscode on Desktop screen, make sure to check this box as shown below.
VScode installation completed, click finish to open VScode.
Install Python Extension:
Now, we need to install a very powerful extension of vscode for python. For more about it, go to link [Python Extension]. Click on the Extensions as shown.
Search for python in search box.
Then click on install the extension and wait for installation to complete. We are ready !
Run Python Script:
create a file , fileName.py. We will use first as file name here, ‘first.py’.
Go to “Terminal Menu” and click “New Terminal”
It will open the command line for you.
Enter “py fileName.py” to run the script.
Video Link : [Python & VScode Installation]
Thank you. 😎👍
Top comments (0)