If you intend to use our Python courses with a code editor like Python's build-in IDLE, Visual Studio, Anaconda, Spyder, or something else, you will need to first install the Python runtime to your local computer. This short article will cover how to do this for Windows - for macOS see this article instead: How to Install Python on Mac
Download Python
1. Head to the Python website's download page: https://www.python.org/downloads/
2. Download a compatible version. Note that this may vary by course depending on the Python libraries used in the course. We recommend reviewing the course's information to determine the appropriate version.
Install on Windows
This section will cover installation as it applies to Windows 10. Your experience may vary with other versions of Windows. Mac installation instructions can be found in the next section.
1. Open the executable (.exe) file downloaded to your computer and follow the on-screen installation prompts. Where relevant, make sure to click on the checkbox to Add Python to PATH.
2. Once the installation finishes, you will get a congratulations message and can close the installation wizard.
Verifying Installation
Once the installation finishes, we'll want to verify that Python is properly installed. To do so, follow the steps below:
1. Start the Python IDLE application - Python's built-in shell for running Python files.
2. Go to File > New File from the top menu to create a new file:
3. In the new file, enter the following code into the editor:
4. Save the Python file
5. Select Run > Run Module from the top menu, or hit F5.
5. If Python is installed correctly, a new window should pop-up with our "Hello world" message printed!
Related Articles
How to Install Python on Mac
If you intend to use our Python courses with a code editor like Visual Studio, Anaconda, Spyder, or something else, you will need to first install the Python runtime to your local computer. This short article will cover how to do this for macOS - for ...
How to Install Visual Studio Code for Windows
In this article, we'll showcase how to install Visual Studio Code (VSC), a multi-language applicable code editor, for Windows. If you'd like to install VSC for Mac, see this article instead: How to Install Visual Studio Code for Mac Installing VSC ...
How to Install Android Studio on Windows
This article will cover how to install Android Studio for Windows. For installation on macOS, we recommend checking out this article instead: How to Install Android Studio on Mac Download Android Studio 1. Head to the Android developers website at ...
How to Install SFML for Windows
In this article, we'll cover how to install the Simple and Fast Multimedia Library (SFML) for C++ projects for Windows. If you'd like to SFML for Mac, please see this article instead: How to Install SFML for Mac Installing SFML 1. Navigate to the ...
How to Install Visual Studio Code for Mac
In this article, we'll showcase how to install Visual Studio Code (VSC), a multi-language applicable code editor, for macOS. If you'd like to install VSC for Windows, see this article instead: How to Install Visual Studio Code for Windows Installing ...