

For example, if you just run python, python3, or py at a new terminal (depending on how you installed Python), you're running in that interpreter's global environment. They aren't specific to a particular project.

Python environments Global environmentsīy default, any Python interpreter installed runs in its own global environment. Note: If you'd like to become more familiar with the Python programming language, review More Python resources.

An "environment" in Python is the context in which a Python program runs and consists of an interpreter and any number of installed packages. This article discusses the helpful Python environments features available in Visual Studio Code.
