Skip to content

Install and Setup for Windows

Python does not come pre-installed on Windows machines. Check if Python is already installed on your machine by opening up Command Prompt. Go to the Start menu, or hit the ⊞ Win key, and search for CMD. Open Command Prompt and enter the command below.

python --version

Most likely you will see that Python is not installed and get an error stating that the python command is not recognized.

To ensure that you are able to follow along with the rest of this book you will want to make sure you have the latest version of Python 3 installed.

Download Python

Users have the choice to download Python 3 from the Microsoft Store, which runs Python as an app and handles the setup process for you. Although this may be a quick way to get Python on your machine, I would suggest downloading Python from the official website to ensure you get the best experience.

Open an internet browser and visit the official website for Python at Click on the Downloads tab and the site should automatically detect the operating system you are using and offer up the latest version of Python 3 for your machine.

Install Python

After the download completes go ahead and run it. You should get an install pop-up to complete the setup.

An important step that you will want to do is click the option to Add Python 3.X to PATH. This allows us to avoid having to get into the advanced system settings and setting this path manually. Adding that to your path will allow the python command to work within the Command Prompt.

Click Install Now to proceed with the installation.

Check Installed Version

Now that Python is installed, open up Command Prompt again and make sure the install was a success by entering the following command.

python --version
Python 3.X.X

In your Start menu, possibly under Program Files, you should now see a Python 3.X folder and within that folder is the program IDLE.