Introduction to Python Resources

Begin your free Python journey now,
at your own pace

check

Concepts: Installing Python

check

A quick-start guide to getting Python up-and-running on your machine.


Getting Python Set-up on your Computer

In order to get started with Python, the first step is to install it on your computer. While many computers come with some version of Python pre-installed, the rest of these topics will assume the latest version of Python is being used.


Downloading and Installing Python on Windows

The Windows version of Python can be downloaded and installed using a self-install program available on the Python website:

  1. Open the Python Downloads page: https://www.python.org/downloads/
  2. Download the installer for the latest version of Python.
  3. When it's finished downloading, open the Python setup program.
  4. Click "Install Now".
  5. If Windows shows a warning dialog, click "Yes" to allow the setup program to make changes to your computer.
  6. Wait for the installation to complete.
  7. Click "Close" when the installation completes.

Downloading and Installing Python on MacOS

The Mac version of Python can be downloaded and installed using a self-install program available on the Python website:

  1. Open the Python Downloads page: https://www.python.org/downloads/
  2. Download the installer for the latest version of Python.
  3. When the download is complete, click on the downloaded .pkg file to open the installer.
  4. Click continue to start the install process. Make sure to accept the license and go through the multiple steps using the default options.
  5. When installation is complete, click close to close the installer.
  6. Tip: Deleting the installer is fine after install is complete.

Downloading and Installing Python on Linux

Directions for downloading and installing Python on Linux: https://www.python.org/downloads/


Opening Python

Now that you have Python installed, it's important to know how to open it so you can practice with it.


Opening Python on Windows

The Windows version of Python can be opened directly via the installed Python program:

  1. Open the Windows Search from the taskbar.
  2. Search for "Python 3." in the search bar. You should see a Python app pop up with the same version as the one you installed earlier.
    • Right-click it and pin it to your taskbar or start menu so you can easily find it later.
  3. Click on the app to open it.
  4. You should see a Python command line window open up.

Opening Python on MacOS

The Mac version of Python can be used in the IDLE application.

  1. When you installed Python above, part of the installation is the IDE (Integrated Development Environment) named IDLE which is the program you will use to run your python code.
  2. To open IDLE you will need to go to your Applications Folder on your computer and open the Python 3.x folder and double click on the IDLE application.
  3. IDLE should now be open and ready for use.
  4. Tip: It is recommended to add a shortcut to IDLE on your Desktop or to the Mac Dock to make opening it quick and easy.

Opening Python on Linux

Directions for opening Python on Linux


Before moving on, it's highly suggested you bookmark this page in case you need a refresher on how to start Python later.