First, we need to install the language interpreter. The installation process depends on your operating system (OS). We will be following RealPython's installation guide. Important! Keep note of the location where you install Python. We might need it in the next section.

Choose your os from below and follow the given steps:

  • For Windows. Follow the "Full Installer" option and download the latest version.
  • For macOS. Follow the "Full Installer" option and download the latest version.
  • For Linux.

Integrated Development Environment (IDE)

  • Download VS Code. This IDE has a store with numerous extensions for all sorts of things, but for this course, you will need only one - Python. Also, turn on auto-save by navigating to File and clicking Auto Save.

After you install Python for VS Code, you will need to select Python interpreter for any script to run:

  • In VS Code, open the Command Palette by using the shortcut Ctrl + Shift + P, type "python: select interpreter", and click on that option in the drop-down menu.
  • From there, you have two options: either select an automatically detected interpreter (should be the same version as you installed previously) or enter the interpreter path. If the first option is available, simply choose it and you're all set. If not, then enter the path that we asked you to save in the previous section.
  • To check whether Python and VS Code are working, create a new file called intro.py. This can be done by either right-clicking in the empty space provided by the Explorer/Sidebar tab (toggle it using Ctrl + b) and clicking "New File", or by opening up your terminal in VS Code (toggle Ctrl + ~) and typing touch intro.py. After opening the file, your VS Code should have the interpreter version on the blue (in the original theme) strip at the bottom of the IDE window.

Installing Git and GitHub Setup

Contribute to this lesson