# Using Python on Windows 10

## Overview

![](https://cdn-learn.adafruit.com/assets/assets/000/076/251/medium800/python_Python_Before-1024x399.png?1559313832)

It’s been widely known for many years that Windows is the only mainstream operating system that has not included a Python interpreter out of the box. For many users who are never going to need it, this helps reduce the size and improves the security of the operating system. But for those of us who would like to use it, Python’s absence has been keenly felt.

## The Windows 10 May 2019 Update

With the May 2019 update to WIndows 10, there are two methods to get Python 3.7 or later on your computer. As of October, 2020, there are community releases of Python 3.7. 3.8, and 3.9 in the Microsoft Store. This will be the default choice for getting Python if you are looking for an easy install separate than those on the Internet.

Second,&nbsp;every install of Windows starting with the May 2019 update will include `python` and `python3` commands that take you directly to the&nbsp;[Python store page](https://www.microsoft.com/p/python-37/9nj46sx7x90p?Cid=AnnounceBlog).

This tutorial will help you through these options.

![](https://cdn-learn.adafruit.com/assets/assets/000/076/254/medium800/python_Python_After.png?1559323289)

Primary: 

# Using Python on Windows 10

## Upgrading Windows 10

![](https://cdn-learn.adafruit.com/assets/assets/000/076/354/medium800/python_version.jpg?1559573042)

You can check your version of Windows 10 by clicking the Start icon in the lower left of the screen, click the **gear icon** (Settings) then **Update and Security** then on the right " **OS build info**". You should get a screen similar to that above.&nbsp; See the version and date under **Windows Specifications**.

You will need the May 2019 Update (or better) to get the features used in this article. Directly upload the update by going to&nbsp;[https://www.microsoft.com/en-us/software-download/windows10](https://www.microsoft.com/en-us/software-download/windows10). Click the **Update now** button to get the update. This saves time over looking to update from the Settings.

![](https://cdn-learn.adafruit.com/assets/assets/000/076/310/medium800/python_upgrade.png?1559339790)

Info: 

When complete, check the OS version again as described at the top of this page and ensure it is 18362.145 or higher.

# Using Python on Windows 10

## The Python App

![](https://cdn-learn.adafruit.com/assets/assets/000/076/257/medium800/python_Python_Store.png?1559324068)

If you've found the Microsoft (app) Store, you know how convenient it is. If you haven't used it yet, we'll show you how.

Click the Start button, lower left of the screen and find the Microsoft Store tile, a shopping bag with the Windows four pane logo on it. Click the tile.

&nbsp;

If you don't see the icon, in the search bar at the bottom, type "Microsoft Store" and it should be a top result.

![python_Start.png](https://cdn-learn.adafruit.com/assets/assets/000/076/258/medium640/python_Start.png?1559324200)

![python_store-logo.png](https://cdn-learn.adafruit.com/assets/assets/000/076/259/medium640/python_store-logo.png?1559324447)

The Microsoft Store window will pop up similar to the one at left.

Click Search then type "Python". Choose Python 3.7, 3.8, or 3.9, as you wish. In general, newer is better, but some software does not yet support Python 3.9.

The app window shown at the top of this guide page will pop up.&nbsp;

The app is free. Click the Get button - unless you have a "See System Requirements" link below the Get button - it's likely you need to upgrade WIndows 10 as shown on the previous page of this guide.

&nbsp;

![python_Store-main.jpg](https://cdn-learn.adafruit.com/assets/assets/000/076/260/medium640/python_Store-main.jpg?1559325023)

![python_select-Python.png](https://cdn-learn.adafruit.com/assets/assets/000/076/262/medium640/python_select-Python.png?1559325054)

![python_Python_Store.png](https://cdn-learn.adafruit.com/assets/assets/000/076/311/medium640/python_Python_Store.png?1559340895)

![python_sysreq.png](https://cdn-learn.adafruit.com/assets/assets/000/076/312/medium640/python_sysreq.png?1559340913)

## Use
The program will install two ways to get to Python. The first is a command line version in a Windows command prompt.

![](https://cdn-learn.adafruit.com/assets/assets/000/076/348/medium800/command-line-python.JPG?1559570926)

You are placed in a REPL and can type "help" to see the commands available.

To close the window (you will lose your work if unsaved) type "exit()"

### IDLE

IDLE is the Python 3 official editor.

![](https://cdn-learn.adafruit.com/assets/assets/000/076/349/medium800/python_IDLE.jpg?1559571083)

IDLE also shows the Python 3.7 REPL but has menu commands at top allowing you to do a number of actions. This may be the best mode to use Python until you are familiar with things.

# Using Python on Windows 10

## Command Line Python

![](https://cdn-learn.adafruit.com/assets/assets/000/076/350/medium800/python_prompt-start.png?1559571685)

If you are unfamiliar with the Windows Command Prompt, you are not alone. Windows designers have made its use rare for non-programmers. But it remains a very useful tool for working with programs like Python (so much so, the author created a tile for it on the right above).

To access the command line, open the **Start Menu** via clicking the Start Button, lower left of the screen. Scroll the left side all the way down to **Windows System** &nbsp;- click the icon and sub menu items pop in, select **Command Prompt** with the black icon.

Unlike the Python app noted in the previous page, the Command Prompt does not put you in a REPL or IDLE. It is the Windows command line and you can perform many system functions. It is handy to know where to find the Command Prompt for system administration.

## Python
![](https://cdn-learn.adafruit.com/assets/assets/000/076/351/medium800/python_Python_After.png?1559572025)

You can access Python in the Command Line by just typing `python`, `python3`, or `python3.7`, `python3.8`, or` python3.9`, depending on which version you installed. If you have more than one version installed, you'll need to be more specific. You will then get the familiar REPL prompt.

If you have not used Python before this and not installed the app as on the previous page, typing `python` may take you to the Microsoft Store to download the components. Follow the previous page if it does so.

## IDLE

Typing the word `idle`&nbsp;in the command prompt runs the IDLE Python editor, just like installing the app on the previous page. Rather than showing up in the command prompt window, a new IDLE window will appear (see image below).

![](https://cdn-learn.adafruit.com/assets/assets/000/076/352/medium800/python_idle2.jpg?1559572226)

## pip3

The pip package manager is available for this install of Python as well, pip opens up a world of open source packages to install for your projects.

![](https://cdn-learn.adafruit.com/assets/assets/000/076/353/medium800/python_pip.jpg?1559572358)

Typing `pip3 list`&nbsp;will list the currently installed packages. Consult the pip documentation (available at the link below) on all the commands used to work with packages with pip.

## Wrap-Up

Windows 10 May 2019 update opens up a new, world of Python 3 on Windows.

If you want to learn more about using Python, go to [python.org](https://www.python.org/), where you can find documentation, community and more.&nbsp;

Documentation for Python's standard library, along with tutorials and guides, are available at&nbsp;[docs.python.org](https://docs.python.org/).

Have fun!


## Related Guides

- [Adafruit Metro M4 Express featuring ATSAMD51](https://learn.adafruit.com/adafruit-metro-m4-express-featuring-atsamd51.md)
- [Adafruit Feather M4 Express](https://learn.adafruit.com/adafruit-feather-m4-express-atsamd51.md)
- [Introducing the Adafruit Grand Central M4 Express](https://learn.adafruit.com/adafruit-grand-central.md)
- [Adafruit Metro M4 Express AirLift (WiFi)](https://learn.adafruit.com/adafruit-metro-m4-express-airlift-wifi.md)
- [Sketch Drawing Toy with CircuitPython](https://learn.adafruit.com/sketch-drawing-toy.md)
- [Garmin Lidar Lite Range Finder](https://learn.adafruit.com/garmin-lidar-lite-range-finder.md)
- [Lego Neon NeoPixel Sign with CircuitPython](https://learn.adafruit.com/lego-neon-sign.md)
- [Adafruit MicroSD SPI or SDIO Card Breakout Board](https://learn.adafruit.com/adafruit-microsd-spi-sdio.md)
- [Stream Deck controlled RGB Message Panel using Adafruit IO](https://learn.adafruit.com/stream-deck-controlled-rgb-message-panel-using-adafruit-io.md)
- [CircuitPython Watchdog Module](https://learn.adafruit.com/circuitpython-watchdog-module.md)
- [1.8" TFT Display Breakout and Shield](https://learn.adafruit.com/1-8-tft-display.md)
- [Adafruit 2.0" 320x240 Color IPS TFT Display](https://learn.adafruit.com/2-0-inch-320-x-240-color-ips-tft-display.md)
- [RGB Matrix Slot Machine](https://learn.adafruit.com/rgb-matrix-slot-machine.md)
- [ItsyBitsy Keybow Mechanical Keypad](https://learn.adafruit.com/itsybitsy-keybow-mechanical-keypad.md)
- [0.96" mini Color OLED](https://learn.adafruit.com/096-mini-color-oled.md)
- [Make It Glow With Crickit](https://learn.adafruit.com/make-it-glow-with-crickit.md)
- [Making oscilloscope images with DACs](https://learn.adafruit.com/dac-oscilloscope-images.md)
- [Capturing Camera Images with CircuitPython](https://learn.adafruit.com/capturing-camera-images-with-circuitpython.md)
- [Upgrading AirLift ESP32 Firmware](https://learn.adafruit.com/upgrading-esp32-firmware.md)
