Visual Studio Code IDE for Windows
Visual Studio Code IDE for Windows
1.Go to the website below to download the program file for your Windows version.
https://code.visualstudio.com/download
Click on the button choice as shown below that represents your current Windows OS. Your
download will start automatically.
2. Run the installer file from your downloads folder. Accept the agreement and press Next > a
few times till you derive at the Setup screen.
At the Setup screen, choose options for the install. I chose all of them.
When complete, leave Launch Visual Studio Code checked and click Finish to open VSC.
3. As you open up your program you should see a Welcome, ‘Get Started’ or Release Notes
screen.
To install Python as an extension for full operability of python usage, type python in the search
text field under the EXTENSIONS: MARKETPLACE area presented. Search for the Python for
VSCode extension, then click on the install button. The install should be super quick, so no
waiting!
*Note for some extension installs it may be wise to close out of VSC and reopen the IDE to
make sure your newest extensions are loaded and present to work with if need be.
5. Click on the Explorer icon located on the upper left of your IDE.
Select or create the folder you wish to work with, then click on Add to finish your setup.
To create a new file, click on New File...(or from your menu File > New File...) as shown below
in your screen area.
Type in a file name and include the python extension(.py) so it knows what type of app to run
when executing your code. Hit enter to save the file to your desired folder then the Create File
button which is open the file in the editor.
Example follows.
Type in some source code in the editor to your right that appears in the IDE. Example follows.
print("hello world")
Save your file and click on the Run icon at the top right of your editor to run your python
program as shown below.
Notice at the lower part of your IDE there should appear a Python "Interpreter" version
representing the latest Python version available in your system as shown below.
Note you can always select an alternative interpreter version , by going to your Command Palette
( View > Command Palette... ) and typing in Select Interpreter.
Snapshot follows.
References
Windows python 3 help for Selecting a Python Interpreter for VS Code per their docs can be
found out here => https://code.visualstudio.com/docs/python/python-tutorial#_prerequisites
https://code.visualstudio.com/docs/python/python-tutorial