# 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!


## Featured Products

### Adafruit Metro M4 Express AirLift (WiFi) - Lite

[Adafruit Metro M4 Express AirLift (WiFi) - Lite](https://www.adafruit.com/product/4000)
Give your next project a lift with _AirLift_ - our witty name for the ESP32 co-processor that graces this Metro M4. You already know about the&nbsp; **Adafruit Metro M4** &nbsp;featuring the&nbsp; **Microchip ATSAMD51** , with it's 120MHz Cortex M4 with...

In Stock
[Buy Now](https://www.adafruit.com/product/4000)
[Related Guides to the Product](https://learn.adafruit.com/products/4000/guides)
### Adafruit Metro M4 feat. Microchip ATSAMD51

[Adafruit Metro M4 feat. Microchip ATSAMD51](https://www.adafruit.com/product/3382)
Are you ready? Really ready? Cause here comes the fastest, most powerful Metro ever. The **Adafruit Metro M4** featuring the **Microchip ATSAMD51**. This Metro is like a bullet train, with its 120MHz Cortex M4 with floating point support. Your code will zig and zag...

In Stock
[Buy Now](https://www.adafruit.com/product/3382)
[Related Guides to the Product](https://learn.adafruit.com/products/3382/guides)
### Adafruit Grand Central M4 Express featuring the SAMD51

[Adafruit Grand Central M4 Express featuring the SAMD51](https://www.adafruit.com/product/4064)
Are you ready? Really ready? Cause here comes the **Adafruit Grand Central** featuring the **Microchip ATSAMD51**. This dev board is so big, it's not named after a Metro train, it's a whole freakin' _station_!

This board is like a freight...

In Stock
[Buy Now](https://www.adafruit.com/product/4064)
[Related Guides to the Product](https://learn.adafruit.com/products/4064/guides)
### Adafruit Feather M4 Express - Featuring ATSAMD51

[Adafruit Feather M4 Express - Featuring ATSAMD51](https://www.adafruit.com/product/3857)
It's what you've been waiting for, the Feather M4 Express featuring ATSAMD51. This Feather is fast like a swift, smart like an owl, strong like a ox-bird (it's half ox, half bird, OK?) This feather is powered by our new favorite chip, the **ATSAMD51J19** -&nbsp; with...

In Stock
[Buy Now](https://www.adafruit.com/product/3857)
[Related Guides to the Product](https://learn.adafruit.com/products/3857/guides)
### Adafruit ItsyBitsy M4 Express featuring ATSAMD51

[Adafruit ItsyBitsy M4 Express featuring ATSAMD51](https://www.adafruit.com/product/3800)
What's smaller than a Feather but larger than a Trinket? It's an **Adafruit ItsyBitsy M4 Express** featuring the **Microchip ATSAMD51**! Small, powerful, with a ultra fast ATSAMD51 Cortex M4 processor running at 120 MHz - this microcontroller board is perfect...

Out of Stock
[Buy Now](https://www.adafruit.com/product/3800)
[Related Guides to the Product](https://learn.adafruit.com/products/3800/guides)

## 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)
- [CircuitPython Connected Weather Cloud Lamp](https://learn.adafruit.com/circuitpython-connected-weather-cloud.md)
- [eInk FeatherWing Display Stand](https://learn.adafruit.com/eink-featherwing-display-stand.md)
- [Controlling Objects in Unity with a 9 DoF Sensor and Arduino](https://learn.adafruit.com/controlling-objects-in-unity-with-arduino.md)
- [CircuitPython OLED Watch Clock](https://learn.adafruit.com/circuitpython-oled-watch.md)
- [Tiny Autostereogram Construction Kit](https://learn.adafruit.com/tiny-autostereogram-construction-kit.md)
- [Esenciales para CircuitPython](https://learn.adafruit.com/esenciales-para-circuitpython.md)
- [Native MP3 decoding on Arduino](https://learn.adafruit.com/native-mp3-decoding-on-arduino.md)
- [Zelda Master Sword](https://learn.adafruit.com/zelda-master-sword.md)
- [Ocean Epoxy Resin Lightbox with RGB LED Matrix Image Scroller](https://learn.adafruit.com/ocean-epoxy-resin-lightbox-with-rgb-led-matrix-image-scroller.md)
- [LED Protest Sign](https://learn.adafruit.com/led-protest-sign.md)
- [Multi-tasking with CircuitPython](https://learn.adafruit.com/multi-tasking-with-circuitpython.md)
- [Daily Cheer Automaton](https://learn.adafruit.com/daily-cheer-automaton.md)
- [Arcade Synth Controller](https://learn.adafruit.com/arcade-synth-controller.md)
- [CircuitPython Libraries with the Binho Nova Multi-Protocol USB Host Adapter](https://learn.adafruit.com/circuitpython-with-binho-nova-multi-protocol-usb-host-adapter.md)
- [Interpreting Environmental Sensor Data With Local "Edge" LLMs](https://learn.adafruit.com/interpreting-environmental-sensor-data-with-llms.md)
