
venv — Creation of virtual environments — Python 3.14.2 documentation
1 day ago · A virtual environment is created on top of an existing Python installation, known as the virtual environment’s “base” Python, and by default is isolated from the packages in the base …
12. Virtual Environments and Packages — Python 3.14.2 documentation
Dec 8, 2025 · The solution for this problem is to create a virtual environment, a self-contained directory tree that contains a Python installation for a particular version of Python, plus a number of additional …
4. Using Python on Windows — Python 3.14.2 documentation
1 day ago · The recommended command for launching Python is python, which will either launch the version requested by the script being launched, an active virtual environment, or the default installed …
Python Setup and Usage — Python 3.15.0a2 documentation
2 days ago · This part of the documentation is devoted to general information on the setup of the Python environment on different platforms, the invocation of the interpreter and things that make working …
IDLE — Python editor and shell — Python 3.14.2 documentation
3 days ago · Files referenced by these environment variables are convenient places to store functions that are used frequently from the IDLE shell, or for executing import statements to import common …
1. Command line and environment — Python 3.14.2 documentation
These environment variables influence Python’s behavior, they are processed before the command-line switches other than -E or -I. It is customary that command-line switches override environmental …
The initialization of the sys.path module search path — Python 3.14.2 ...
4 days ago · The PYTHONPATH environment variable is often used to add directories to the search path. If this environment variable is found then the contents are added to the module search path.
2. Using the Python Interpreter — Python 3.14.2 documentation
1 day ago · On Unix, the Python 3.x interpreter is by default not installed with the executable named python, so that it does not conflict with a simultaneously installed Python 2.x executable.
__main__ — Top-level code environment — Python 3.14.2 documentation
2 days ago · Regardless of which module a Python program was started with, other modules running within that same program can import the top-level environment’s scope (namespace) by importing …
os — Miscellaneous operating system interfaces — Python 3.14.2 ...
In Python, file names, command line arguments, and environment variables are represented using the string type. On some systems, decoding these strings to and from bytes is necessary before passing …