About 80,300 results
Open links in new tab
  1. 2. Using the Python Interpreter — Python 3.14.2 documentation

    1 day ago · 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 …

  2. Python Setup and Usage — Python 3.14.2 documentation

    1 day 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 …

  3. The Python Tutorial — Python 3.11.14 documentation

    Mar 11, 2014 · 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 …

  4. 4. Using Python on Windows — Python 3.14.2 documentation

    23 hours ago · 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.

  5. 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 …

  6. concurrent.interpreters — Multiple interpreters in the same ... - Python

    2 days ago · 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.

  7. Initialization, Finalization, and Threads — Python 3.14.1 documentation

    In order to support multi-threaded Python programs, there’s a global lock, called the global interpreter lock or GIL, that must be held by the current thread before it can safely access Python objects.

  8. 3. Configure Python — Python 3.14.1 documentation

    Configuring Python using --enable-optimizations --with-lto (PGO + LTO) is recommended for best performance. The experimental --enable-bolt flag can also be used to improve performance.

  9. 4. Execution model — Python 3.14.2 documentation

    1 day ago · In contrast, an “interpreter” is conceptually what we would normally think of as the (full-featured) “Python runtime”. When machine code executing in a host thread interacts with the Python …

  10. IDLE — Python editor and shell — Python 3.14.2 documentation

    1 day ago · Help menu entry “Python Docs” opens the extensive sources of help, including tutorials, available at docs.python.org/x.y, where ‘x.y’ is the currently running Python version.