Python Setup Guide
Python Setup Guide
Use CrashCamps Browser based Python Editor. Go to https://crashcamps.com/python-editor/
If you're new to programming tools, it's good to know that three separate pieces work together to run Python in VS Code
The editor where you write and organize your code.
Adds Python language support to VS Code, such as IntelliSense, running, and debugging. The extension doesn't include Python itself.
The program that actually runs your Python code. You install it separately from VS Code.
You install all three in this tutorial. VS Code is the workspace, the Python extension connects VS Code to Python, and the interpreter does the work of running your program.
Go to the official Python Downloads Page.
Download the standalone installer for latest version recommended for your operating system.
Crucial Step (Windows users): Run the installer and check the box that says "Add python.exe to PATH" before clicking Install Now. This ensures you can run Python from your command line
Verification: Open your terminal (or Command Prompt) and type python --version. It should return the version number you just installed
Download the editor from the Visual Studio Code Website.
Run the installer and complete the setup with default settings.
The extension adds code completion (IntelliSense), syntax highlighting, and debugging features to VS Code
Open the Extensions view by clicking the building blocks icon on the left sidebar, or press Ctrl+Shift+X (Cmd+Shift+X on Mac).
Search for Python.
Locate the extension published by Microsoft and click Install
Create a new file by clicking the New File icon or pressing Ctrl+N.
Save the file immediately as hello.py (the .py extension tells VS Code it's a Python file).
Write / Paste the following code into the file
print("Hello, world!")
Run the code: Click the Play icon (▷) in the top right corner of the editor window. Alternatively, right-click inside the file window and choose Run Python File in Terminal. Your output will display at the bottom of the screen.