Global web icon
python.org
https://docs.python.org/3/tutorial/interpreter.htm…
2. Using the Python Interpreter — Python 3.14.2 documentation
The interpreter operates somewhat like the Unix shell: when called with standard input connected to a tty device, it reads and executes commands interactively; when called with a file name argument or with a file as standard input, it reads and executes a script from that file.
Global web icon
python.org
https://docs.python.org/3/using/windows.html
4. Using Python on Windows — Python 3.14.2 documentation
To allow shebang lines in Python scripts to be portable between Unix and Windows, this launcher supports a number of ‘virtual’ commands to specify which interpreter to use.
Global web icon
python.org
https://docs.python.org/3/library/concurrent.inter…
concurrent.interpreters — Multiple interpreters in the same ... - Python
Each actual thread in Python, even if you’re only running in the main thread, has its own current execution context. Multiple threads can use the same interpreter or different ones.
Global web icon
python.org
https://docs.python.org/3/using/cmdline.html
1. Command line and environment — Python 3.14.2 documentation
The Python interpreter is configured by default to use colors to highlight output in certain situations such as when displaying tracebacks. This behavior can be controlled by setting different environment variables.
Global web icon
python.org
https://docs.python.org/3/using/index.html
Python Setup and Usage — Python 3.14.2 documentation
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 with Python easier.
Global web icon
python.org
https://docs.python.org/3.11/tutorial/
The Python Tutorial — Python 3.11.14 documentation
The Python interpreter is easily extended with new functions and data types implemented in C or C++ (or other languages callable from C). Python is also suitable as an extension language for customizable applications.
Global web icon
python.org
https://docs.python.org/3/library/venv.html
venv — Creation of virtual environments — Python 3.14.2 documentation
Used to contain a specific Python interpreter and software libraries and binaries which are needed to support a project (library or application). These are by default isolated from software in other virtual environments and Python interpreters and libraries installed in the operating system.
Global web icon
python.org
https://docs.python.org/3/using/ios.html
7. Using Python on iOS — Python 3.14.2 documentation
As a result, the only way you can use Python on iOS is in embedded mode - that is, by writing a native iOS application, and embedding a Python interpreter using libPython, and invoking Python code using the Python embedding API.
Global web icon
python.org
https://docs.python.org/3/howto/free-threading-pyt…
Python support for free threading — Python 3.14.2 documentation
Starting with the 3.13 release, CPython has support for a build of Python called free threading where the global interpreter lock (GIL) is disabled. Free-threaded execution allows for full utilization of the available processing power by running threads in parallel on available CPU cores.
Global web icon
python.org
https://docs.python.org/3/extending/embedding.html
1. Embedding Python in Another Application
It is not necessarily trivial to find the right flags to pass to your compiler (and linker) in order to embed the Python interpreter into your application, particularly because Python needs to load library modules implemented as C dynamic extensions (.so files) linked against it.