Install Python on Windows
Install Python on Windows 9, 10 & 11

Heads up! You've already completed this tutorial.

Before you start building GUI applications with Python you will need a working installation of Python on your computer! In this short tutorial we'll work through the steps for getting a working Python install, using the latest Python.

Installing Python on Windows

Go to the official Python website's Windows downloads page and download one of the Stable Releases of Python.

Download the latest version of Python You can download any of the stable versions.

You typically want to download the Windows Installer (64-bit) for modern hardware. Unless you know you need the 32 bit version, try the 64-bit first.

Once the download is complete, double click the installer to launch it.

The Python for Windows installer The Python for Windows installer. Ensure sure Add python.exe to PATH is checked.

You'll see the installer welcome screen which describes what the installer will do.

Make sure that Add python.exe to PATH is checked in the installer. This makes it easier to use Python from the command prompt -- you just need to enter "python" to start, rather than the full path to the executable.

When you are ready to being the installation you can click Install Now.

Installing Python Installing Python.

The install will proceed as normal, installing all the required libraries (including Tcl/Tk for Tkinter). Once complete you can exit the installer.

Open a command prompt and start python by entering python. This will start the Python REPL, where you can enter interactive Python code.

The Python REPL The Python REPL for our newly installed Python installation.

Installing GUI libraries for Windows

Now you have the latest version of Python set up on your computer, you can move to installing libraries you need for creating GUI applications. See below for installation guides for PyQt, PySide & Tkinter on Windows.

Over 10,000 developers have bought Create GUI Applications with Python & Qt!
Create GUI Applications with Python & Qt6
Take a look

Downloadable ebook (PDF, ePub) & Complete Source code

Also available from Payhip , Gumroad , Leanpub and Amazon Paperback

[[ discount.discount_pc ]]% OFF for the next [[ discount.duration ]] [[discount.description ]] with the code [[ discount.coupon_code ]]

Purchasing Power Parity

Developers in [[ country ]] get [[ discount.discount_pc ]]% OFF on all books & courses with code [[ discount.coupon_code ]]
Well done, you've finished this tutorial! Mark As Complete
[[ user.completed.length ]] completed [[ user.streak+1 ]] day streak

Install Python on Windows was written by Martin Fitzpatrick .

Martin Fitzpatrick has been developing Python/Qt apps for 8 years. Building desktop applications to make data-analysis tools more user-friendly, Python was the obvious choice. Starting with Tk, later moving to wxWidgets and finally adopting PyQt.