1 of 7

Setting up

Python in

Windows

Lawrence Jones

lbjones@unc.edu

INLS 560

Chapter 1

INLS 161

Tools for

Information

Literacy

2 of 7

Windows: Python app is what we want

Python 3.11 App

downloaded from python.org

>>> prompt

means it is installed and ready to use.

3 of 7

Command Prompt or Powershell will work but…

If you check for Python in Command Prompt…

Or in PowerShell…

4 of 7

You will be prompted to get it from Microsoft Store

Let’s not do that unless python.org does not work

Current advice recommends using the python.org app not the Microsoft Store option.

5 of 7

Use Python “shell” in Visual Studio Code Terminal

You can have multiple “shells” open in Visual Studio Code.

You will want to use the Python Option, not the powershell or cmd options

Python: yes

powershell: no

cmd: no

6 of 7

Install the Python Extensions in Visual Studio Code

Extensions

7 of 7

Install the Python Extensions in Visual Studio Code

Extensions will allow you to “Run your Python File”