chunk_id
stringlengths
36
36
source
stringclasses
35 values
source_url
stringlengths
0
290
upstream_license
stringclasses
1 value
document_id
stringlengths
36
36
chunk_index
int64
0
324k
retrieved_at
stringclasses
2 values
chunker_version
stringclasses
4 values
content_hash
stringlengths
15
64
content
stringlengths
50
44.7k
namespace
stringclasses
9 values
source_name
stringclasses
35 values
raw_text
stringlengths
50
44.7k
cleaned_text
stringlengths
50
44.7k
tags
stringclasses
49 values
collection_name
stringclasses
11 values
e573c580-3ae8-49ea-9476-2044ee822281
CPython Docs
file://datasets/cpython/Doc/using/ios.rst
unknown
43ac2797-18a3-4dd7-b613-308c1c3f8ca3
54,325
supabase-export-v2
e5d25c9325b0f425
third-party packages will contain ``.pth`` files, you should add that folder as a *site directory* (using :meth:`site.addsitedir`), rather than adding to :envvar:`PYTHONPATH` or :attr:`sys.path` directly. Testing a Python package ------------------------
trusted_official_docs
CPython Docs
third-party packages will contain ``.pth`` files, you should add that folder as a *site directory* (using :meth:`site.addsitedir`), rather than adding to :envvar:`PYTHONPATH` or :attr:`sys.path` directly. Testing a Python package ------------------------
third-party packages will contain ``.pth`` files, you should add that folder as a *site directory* (using :meth:`site.addsitedir`), rather than adding to :envvar:`PYTHONPATH` or :attr:`sys.path` directly. Testing a Python package ------------------------
python, official-docs, cpython, P0
Local_Trusted_Corpus
ee75117a-e52e-4eed-9b91-9d32b1039756
CPython Docs
file://datasets/cpython/Doc/using/ios.rst
unknown
43ac2797-18a3-4dd7-b613-308c1c3f8ca3
54,277
supabase-export-v2
41518aae3823fcf1
``ios``. This value will be returned on an iPhone or iPad, regardless of whether the app is running on the simulator or a physical device. Information about the specific runtime environment, including the iOS version, device model, and whether the device is a simulator, can be obtained using :func:`platform.ios_ver`. :...
trusted_official_docs
CPython Docs
``ios``. This value will be returned on an iPhone or iPad, regardless of whether the app is running on the simulator or a physical device. Information about the specific runtime environment, including the iOS version, device model, and whether the device is a simulator, can be obtained using :func:`platform.ios_ver`. :...
``ios``. This value will be returned on an iPhone or iPad, regardless of whether the app is running on the simulator or a physical device. Information about the specific runtime environment, including the iOS version, device model, and whether the device is a simulator, can be obtained using :func:`platform.ios_ver`. :...
python, official-docs, cpython, P0
Local_Trusted_Corpus
f168bff7-a71a-4235-942c-d5728e2174ca
CPython Docs
file://datasets/cpython/Doc/using/ios.rst
unknown
43ac2797-18a3-4dd7-b613-308c1c3f8ca3
54,319
supabase-export-v2
cf1fdd56abe51432
* :envvar:`PYTHONHOME` for the interpreter is configured to point at the ``python`` subfolder of your app's bundle; and * The :envvar:`PYTHONPATH` for the interpreter includes: - the ``python/lib/python3.X`` subfolder of your app's bundle, - the ``python/lib/python3.X/lib-dynload`` subfolder of your app's bundle, and ...
trusted_official_docs
CPython Docs
* :envvar:`PYTHONHOME` for the interpreter is configured to point at the ``python`` subfolder of your app's bundle; and * The :envvar:`PYTHONPATH` for the interpreter includes: - the ``python/lib/python3.X`` subfolder of your app's bundle, - the ``python/lib/python3.X/lib-dynload`` subfolder of your app's bundle, and ...
* :envvar:`PYTHONHOME` for the interpreter is configured to point at the ``python`` subfolder of your app's bundle; and * The :envvar:`PYTHONPATH` for the interpreter includes: - the ``python/lib/python3.X`` subfolder of your app's bundle, - the ``python/lib/python3.X/lib-dynload`` subfolder of your app's bundle, and ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
f78dec11-ec37-4d25-9f93-3288c2e16e24
CPython Docs
file://datasets/cpython/Doc/using/ios.rst
unknown
43ac2797-18a3-4dd7-b613-308c1c3f8ca3
54,290
supabase-export-v2
e0d604471199d112
to a full compiler path (e.g., ``xcrun --sdk iphoneos clang`` to get the ``clang`` for an iPhone device). However, using this script poses two problems: * The output of ``xcrun`` includes paths that are machine specific, resulting in a sysconfig module that cannot be shared between users; and
trusted_official_docs
CPython Docs
to a full compiler path (e.g., ``xcrun --sdk iphoneos clang`` to get the ``clang`` for an iPhone device). However, using this script poses two problems: * The output of ``xcrun`` includes paths that are machine specific, resulting in a sysconfig module that cannot be shared between users; and
to a full compiler path (e.g., ``xcrun --sdk iphoneos clang`` to get the ``clang`` for an iPhone device). However, using this script poses two problems: * The output of ``xcrun`` includes paths that are machine specific, resulting in a sysconfig module that cannot be shared between users; and
python, official-docs, cpython, P0
Local_Trusted_Corpus
0715e409-6d95-4bd1-ab04-1c881ad2d308
CPython Docs
file://datasets/cpython/Doc/using/mac.rst
unknown
3929ed90-fb1b-4fe8-95f7-b78c65b19387
54,353
supabase-export-v2
b8874cac19578562
********************* Using Python on macOS ********************* This document aims to give an overview of macOS-specific behavior you should know about to get started with Python on Mac computers. Python on a Mac running macOS is very similar to Python on other Unix-derived platforms, but there are some differences i...
trusted_official_docs
CPython Docs
********************* Using Python on macOS ********************* This document aims to give an overview of macOS-specific behavior you should know about to get started with Python on Mac computers. Python on a Mac running macOS is very similar to Python on other Unix-derived platforms, but there are some differences i...
********************* Using Python on macOS ********************* This document aims to give an overview of macOS-specific behavior you should know about to get started with Python on Mac computers. Python on a Mac running macOS is very similar to Python on other Unix-derived platforms, but there are some differences i...
python, official-docs, cpython, P0
Local_Trusted_Corpus
0992d2db-6c0c-4aa5-a807-b5d989b0456a
CPython Docs
file://datasets/cpython/Doc/using/mac.rst
unknown
3929ed90-fb1b-4fe8-95f7-b78c65b19387
54,354
supabase-export-v2
31b86cd9665682d0
Python on a Mac running macOS is very similar to Python on other Unix-derived platforms, but there are some differences in installation and some features. There are various ways to obtain and install Python for macOS. Pre-built versions of the most recent versions of Python are available from a number of distributors. ...
trusted_official_docs
CPython Docs
Python on a Mac running macOS is very similar to Python on other Unix-derived platforms, but there are some differences in installation and some features. There are various ways to obtain and install Python for macOS. Pre-built versions of the most recent versions of Python are available from a number of distributors. ...
Python on a Mac running macOS is very similar to Python on other Unix-derived platforms, but there are some differences in installation and some features. There are various ways to obtain and install Python for macOS. Pre-built versions of the most recent versions of Python are available from a number of distributors. ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
0a126779-c8fb-42f0-a13e-618f47623a94
CPython Docs
file://datasets/cpython/Doc/using/mac.rst
unknown
3929ed90-fb1b-4fe8-95f7-b78c65b19387
54,364
supabase-export-v2
19c76353507a2337
.. image:: mac_installer_02_readme.png Clicking on **Continue** proceeds to display the license for Python and for other included software. You will then need to **Agree** to the license terms before proceeding to the next step. This license file will also be installed and available to be read later.
trusted_official_docs
CPython Docs
.. image:: mac_installer_02_readme.png Clicking on **Continue** proceeds to display the license for Python and for other included software. You will then need to **Agree** to the license terms before proceeding to the next step. This license file will also be installed and available to be read later.
.. image:: mac_installer_02_readme.png Clicking on **Continue** proceeds to display the license for Python and for other included software. You will then need to **Agree** to the license terms before proceeding to the next step. This license file will also be installed and available to be read later.
python, official-docs, cpython, P0
Local_Trusted_Corpus
0e6463a4-c45b-4d9a-8919-0f1d47d55e1c
CPython Docs
file://datasets/cpython/Doc/using/mac.rst
unknown
3929ed90-fb1b-4fe8-95f7-b78c65b19387
54,448
supabase-export-v2
2cc93e7dd81d95dc
Installing using the command line --------------------------------- If you want to use automation to install the ``python.org`` installer package (rather than by using the familiar macOS :program:`Installer` GUI app), the macOS command line :command:`installer` utility lets you select non-default options, too. If you a...
trusted_official_docs
CPython Docs
Installing using the command line --------------------------------- If you want to use automation to install the ``python.org`` installer package (rather than by using the familiar macOS :program:`Installer` GUI app), the macOS command line :command:`installer` utility lets you select non-default options, too. If you a...
Installing using the command line --------------------------------- If you want to use automation to install the ``python.org`` installer package (rather than by using the familiar macOS :program:`Installer` GUI app), the macOS command line :command:`installer` utility lets you select non-default options, too. If you a...
python, official-docs, cpython, P0
Local_Trusted_Corpus
12487172-08f4-4046-98dd-7ce91fe4d99f
CPython Docs
file://datasets/cpython/Doc/using/mac.rst
unknown
3929ed90-fb1b-4fe8-95f7-b78c65b19387
54,432
supabase-export-v2
097ca44ffd038457
python\ |version|\ t -m pip install <package_name> - When working with multiple Python environments, it is usually safest and easiest to :ref:`create and use virtual environments <tut-venv>`. This can avoid possible command name conflicts and confusion about which Python is in use:
trusted_official_docs
CPython Docs
python\ |version|\ t -m pip install <package_name> - When working with multiple Python environments, it is usually safest and easiest to :ref:`create and use virtual environments <tut-venv>`. This can avoid possible command name conflicts and confusion about which Python is in use:
python\ |version|\ t -m pip install <package_name> - When working with multiple Python environments, it is usually safest and easiest to :ref:`create and use virtual environments <tut-venv>`. This can avoid possible command name conflicts and confusion about which Python is in use:
python, official-docs, cpython, P0
Local_Trusted_Corpus
12dba7d7-f93c-4e9f-967e-9c1d19255e6d
CPython Docs
file://datasets/cpython/Doc/using/mac.rst
unknown
3929ed90-fb1b-4fe8-95f7-b78c65b19387
54,427
supabase-export-v2
d9c710e3c16cd7fb
Since :file:`/usr/local/bin` is typically included in your shell ``PATH``, in most cases no changes to your ``PATH`` environment variables should be needed to use |python_x_dot_y_t_literal|. - For this release, the **Shell profile updater** package and the :file:`Update Shell Profile.command` in |applications_python_v...
trusted_official_docs
CPython Docs
Since :file:`/usr/local/bin` is typically included in your shell ``PATH``, in most cases no changes to your ``PATH`` environment variables should be needed to use |python_x_dot_y_t_literal|. - For this release, the **Shell profile updater** package and the :file:`Update Shell Profile.command` in |applications_python_v...
Since :file:`/usr/local/bin` is typically included in your shell ``PATH``, in most cases no changes to your ``PATH`` environment variables should be needed to use |python_x_dot_y_t_literal|. - For this release, the **Shell profile updater** package and the :file:`Update Shell Profile.command` in |applications_python_v...
python, official-docs, cpython, P0
Local_Trusted_Corpus
131ef3d9-4426-45d8-bd97-ca86386abc13
CPython Docs
file://datasets/cpython/Doc/using/mac.rst
unknown
3929ed90-fb1b-4fe8-95f7-b78c65b19387
54,359
supabase-export-v2
4b8adc260efdae09
all Macs (Apple Silicon and Intel) that are supported by a wide range of macOS versions, currently typically from at least **macOS 10.15 Catalina** on. The downloaded file is a standard macOS installer package file (``.pkg``). File integrity information (checksum, size, sigstore signature, etc) for each file is include...
trusted_official_docs
CPython Docs
all Macs (Apple Silicon and Intel) that are supported by a wide range of macOS versions, currently typically from at least **macOS 10.15 Catalina** on. The downloaded file is a standard macOS installer package file (``.pkg``). File integrity information (checksum, size, sigstore signature, etc) for each file is include...
all Macs (Apple Silicon and Intel) that are supported by a wide range of macOS versions, currently typically from at least **macOS 10.15 Catalina** on. The downloaded file is a standard macOS installer package file (``.pkg``). File integrity information (checksum, size, sigstore signature, etc) for each file is include...
python, official-docs, cpython, P0
Local_Trusted_Corpus
152dff67-a369-464a-a42d-6b687ea6fa78
CPython Docs
file://datasets/cpython/Doc/using/mac.rst
unknown
3929ed90-fb1b-4fe8-95f7-b78c65b19387
54,464
supabase-export-v2
cff17ab1d471f89b
Part of the `BeeWare Project <https://beeware.org>`_; a cross-platform packaging tool that supports creation of ``.app`` bundles on macOS, as well as managing signing and notarization. * `PyInstaller <https://pyinstaller.org/>`_: A cross-platform packaging tool that creates a single file or folder as a distributable a...
trusted_official_docs
CPython Docs
Part of the `BeeWare Project <https://beeware.org>`_; a cross-platform packaging tool that supports creation of ``.app`` bundles on macOS, as well as managing signing and notarization. * `PyInstaller <https://pyinstaller.org/>`_: A cross-platform packaging tool that creates a single file or folder as a distributable a...
Part of the `BeeWare Project <https://beeware.org>`_; a cross-platform packaging tool that supports creation of ``.app`` bundles on macOS, as well as managing signing and notarization. * `PyInstaller <https://pyinstaller.org/>`_: A cross-platform packaging tool that creates a single file or folder as a distributable a...
python, official-docs, cpython, P0
Local_Trusted_Corpus
197b1dc8-711c-482a-86cc-ddfa1ea82671
CPython Docs
file://datasets/cpython/Doc/using/mac.rst
unknown
3929ed90-fb1b-4fe8-95f7-b78c65b19387
54,439
supabase-export-v2
59072176c8a36f2b
python\ |version|\ t -m idlelib - The interpreters in both builds respond to the same :ref:`PYTHON environment variables <using-on-envvars>` which may have unexpected results, for example, if you have ``PYTHONPATH`` set in a shell profile. If necessary, there are :ref:`command line options <using-on-interface-optio...
trusted_official_docs
CPython Docs
python\ |version|\ t -m idlelib - The interpreters in both builds respond to the same :ref:`PYTHON environment variables <using-on-envvars>` which may have unexpected results, for example, if you have ``PYTHONPATH`` set in a shell profile. If necessary, there are :ref:`command line options <using-on-interface-optio...
python\ |version|\ t -m idlelib - The interpreters in both builds respond to the same :ref:`PYTHON environment variables <using-on-envvars>` which may have unexpected results, for example, if you have ``PYTHONPATH`` set in a shell profile. If necessary, there are :ref:`command line options <using-on-interface-optio...
python, official-docs, cpython, P0
Local_Trusted_Corpus
1f771ef4-66a2-4cbd-a3f8-7115c9754f5f
CPython Docs
file://datasets/cpython/Doc/using/mac.rst
unknown
3929ed90-fb1b-4fe8-95f7-b78c65b19387
54,398
supabase-export-v2
dd0b2de5d9b5a514
`Anaconda <https://www.anaconda.com/download/>`_ Popular scientific modules (such as numpy, scipy, and pandas) and the ``conda`` package manager. `Homebrew <https://brew.sh>`_ Package manager for macOS including multiple versions of Python and many third-party Python-based packages (including numpy, scipy, and pandas...
trusted_official_docs
CPython Docs
`Anaconda <https://www.anaconda.com/download/>`_ Popular scientific modules (such as numpy, scipy, and pandas) and the ``conda`` package manager. `Homebrew <https://brew.sh>`_ Package manager for macOS including multiple versions of Python and many third-party Python-based packages (including numpy, scipy, and pandas...
`Anaconda <https://www.anaconda.com/download/>`_ Popular scientific modules (such as numpy, scipy, and pandas) and the ``conda`` package manager. `Homebrew <https://brew.sh>`_ Package manager for macOS including multiple versions of Python and many third-party Python-based packages (including numpy, scipy, and pandas...
python, official-docs, cpython, P0
Local_Trusted_Corpus
2ac305c9-1d45-4f2f-8e06-b1e22aa88954
CPython Docs
file://datasets/cpython/Doc/using/mac.rst
unknown
3929ed90-fb1b-4fe8-95f7-b78c65b19387
54,422
supabase-export-v2
9136d87a3f5cb1c3
Python |version| that supports :pep:`703`, the free-threading feature (running with the :term:`global interpreter lock` disabled). Check the release page on ``python.org`` for possible updated information. The free-threaded mode is working and continues to be improved, but there is some additional overhead in single-th...
trusted_official_docs
CPython Docs
Python |version| that supports :pep:`703`, the free-threading feature (running with the :term:`global interpreter lock` disabled). Check the release page on ``python.org`` for possible updated information. The free-threaded mode is working and continues to be improved, but there is some additional overhead in single-th...
Python |version| that supports :pep:`703`, the free-threading feature (running with the :term:`global interpreter lock` disabled). Check the release page on ``python.org`` for possible updated information. The free-threaded mode is working and continues to be improved, but there is some additional overhead in single-th...
python, official-docs, cpython, P0
Local_Trusted_Corpus
2cd89667-d6dd-4c4b-81f0-08dda916ec20
CPython Docs
file://datasets/cpython/Doc/using/mac.rst
unknown
3929ed90-fb1b-4fe8-95f7-b78c65b19387
54,371
supabase-export-v2
d3e692f61083c10e
install new software. A macOS user name with ``Administrator`` privilege is needed as the installed Python will be available to all users of the Mac. When the installation is complete, the **Summary** window will appear.
trusted_official_docs
CPython Docs
install new software. A macOS user name with ``Administrator`` privilege is needed as the installed Python will be available to all users of the Mac. When the installation is complete, the **Summary** window will appear.
install new software. A macOS user name with ``Administrator`` privilege is needed as the installed Python will be available to all users of the Mac. When the installation is complete, the **Summary** window will appear.
python, official-docs, cpython, P0
Local_Trusted_Corpus
3df9a08e-723a-4439-b972-206dece8f9a7
CPython Docs
file://datasets/cpython/Doc/using/mac.rst
unknown
3929ed90-fb1b-4fe8-95f7-b78c65b19387
54,466
supabase-export-v2
efb0faf426d0bc4a
App Store Compliance -------------------- Apps submitted for distribution through the macOS App Store must pass Apple's app review process. This process includes a set of automated validation rules that inspect the submitted application bundle for problematic code.
trusted_official_docs
CPython Docs
App Store Compliance -------------------- Apps submitted for distribution through the macOS App Store must pass Apple's app review process. This process includes a set of automated validation rules that inspect the submitted application bundle for problematic code.
App Store Compliance -------------------- Apps submitted for distribution through the macOS App Store must pass Apple's app review process. This process includes a set of automated validation rules that inspect the submitted application bundle for problematic code.
python, official-docs, cpython, P0
Local_Trusted_Corpus
3ec16da6-cc0b-4c79-b557-69733974ed8e
CPython Docs
file://datasets/cpython/Doc/using/mac.rst
unknown
3929ed90-fb1b-4fe8-95f7-b78c65b19387
54,379
supabase-export-v2
39de9fbfb6bef8c4
A default install will include: * A |python_version_literal| folder in your :file:`Applications` folder. In here you find :program:`IDLE`, the development environment that is a standard part of official Python distributions; and :program:`Python Launcher`, which handles double-clicking Python scripts from the macOS ...
trusted_official_docs
CPython Docs
A default install will include: * A |python_version_literal| folder in your :file:`Applications` folder. In here you find :program:`IDLE`, the development environment that is a standard part of official Python distributions; and :program:`Python Launcher`, which handles double-clicking Python scripts from the macOS ...
A default install will include: * A |python_version_literal| folder in your :file:`Applications` folder. In here you find :program:`IDLE`, the development environment that is a standard part of official Python distributions; and :program:`Python Launcher`, which handles double-clicking Python scripts from the macOS ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
470fa80b-742d-43c8-affc-fb12e43e2676
CPython Docs
file://datasets/cpython/Doc/using/mac.rst
unknown
3929ed90-fb1b-4fe8-95f7-b78c65b19387
54,392
supabase-export-v2
c24499c6d46791b7
to control how your script is launched. Option-dragging allows you to change these for one invocation, or use its ``Preferences`` menu to change things globally. Be aware that running the script directly from the macOS Finder might produce different results than when running from a terminal window as the script will no...
trusted_official_docs
CPython Docs
to control how your script is launched. Option-dragging allows you to change these for one invocation, or use its ``Preferences`` menu to change things globally. Be aware that running the script directly from the macOS Finder might produce different results than when running from a terminal window as the script will no...
to control how your script is launched. Option-dragging allows you to change these for one invocation, or use its ``Preferences`` menu to change things globally. Be aware that running the script directly from the macOS Finder might produce different results than when running from a terminal window as the script will no...
python, official-docs, cpython, P0
Local_Trusted_Corpus
52a7efe6-b587-4982-9048-69bc3eb80761
CPython Docs
file://datasets/cpython/Doc/using/mac.rst
unknown
3929ed90-fb1b-4fe8-95f7-b78c65b19387
54,362
supabase-export-v2
48bfa7826e89625d
.. image:: mac_installer_01_introduction.png Clicking on the **Continue** button brings up the **Read Me** for this installer. Besides other important information, the **Read Me** documents which Python version is going to be installed and on what versions of macOS it is supported. You may need to scroll through to rea...
trusted_official_docs
CPython Docs
.. image:: mac_installer_01_introduction.png Clicking on the **Continue** button brings up the **Read Me** for this installer. Besides other important information, the **Read Me** documents which Python version is going to be installed and on what versions of macOS it is supported. You may need to scroll through to rea...
.. image:: mac_installer_01_introduction.png Clicking on the **Continue** button brings up the **Read Me** for this installer. Besides other important information, the **Read Me** documents which Python version is going to be installed and on what versions of macOS it is supported. You may need to scroll through to rea...
python, official-docs, cpython, P0
Local_Trusted_Corpus
5392b61a-68d2-476e-9e21-4379dc3e2e66
CPython Docs
file://datasets/cpython/Doc/using/mac.rst
unknown
3929ed90-fb1b-4fe8-95f7-b78c65b19387
54,380
supabase-export-v2
4458cdf055bc0d32
the development environment that is a standard part of official Python distributions; and :program:`Python Launcher`, which handles double-clicking Python scripts from the macOS `Finder <https://support.apple.com/en-us/HT201732>`_. * A framework :file:`/Library/Frameworks/Python.framework`, which includes the Python e...
trusted_official_docs
CPython Docs
the development environment that is a standard part of official Python distributions; and :program:`Python Launcher`, which handles double-clicking Python scripts from the macOS `Finder <https://support.apple.com/en-us/HT201732>`_. * A framework :file:`/Library/Frameworks/Python.framework`, which includes the Python e...
the development environment that is a standard part of official Python distributions; and :program:`Python Launcher`, which handles double-clicking Python scripts from the macOS `Finder <https://support.apple.com/en-us/HT201732>`_. * A framework :file:`/Library/Frameworks/Python.framework`, which includes the Python e...
python, official-docs, cpython, P0
Local_Trusted_Corpus
5650f98c-8b49-4a12-b578-d9de57bfdcbb
CPython Docs
file://datasets/cpython/Doc/using/mac.rst
unknown
3929ed90-fb1b-4fe8-95f7-b78c65b19387
54,409
supabase-export-v2
fb97580ac15a4ebb
There are several options for building GUI applications on the Mac with Python. The standard Python GUI toolkit is :mod:`tkinter`, based on the cross-platform Tk toolkit (https://www.tcl.tk). A macOS-native version of Tk is included with the installer.
trusted_official_docs
CPython Docs
There are several options for building GUI applications on the Mac with Python. The standard Python GUI toolkit is :mod:`tkinter`, based on the cross-platform Tk toolkit (https://www.tcl.tk). A macOS-native version of Tk is included with the installer.
There are several options for building GUI applications on the Mac with Python. The standard Python GUI toolkit is :mod:`tkinter`, based on the cross-platform Tk toolkit (https://www.tcl.tk). A macOS-native version of Tk is included with the installer.
python, official-docs, cpython, P0
Local_Trusted_Corpus
581657ea-0d78-4ddb-ab59-4526f1d3931d
CPython Docs
file://datasets/cpython/Doc/using/mac.rst
unknown
3929ed90-fb1b-4fe8-95f7-b78c65b19387
54,410
supabase-export-v2
c4a4242d9a380055
The standard Python GUI toolkit is :mod:`tkinter`, based on the cross-platform Tk toolkit (https://www.tcl.tk). A macOS-native version of Tk is included with the installer. *PyObjC* is a Python binding to Apple's Objective-C/Cocoa framework. Information on PyObjC is available from :pypi:`pyobjc`.
trusted_official_docs
CPython Docs
The standard Python GUI toolkit is :mod:`tkinter`, based on the cross-platform Tk toolkit (https://www.tcl.tk). A macOS-native version of Tk is included with the installer. *PyObjC* is a Python binding to Apple's Objective-C/Cocoa framework. Information on PyObjC is available from :pypi:`pyobjc`.
The standard Python GUI toolkit is :mod:`tkinter`, based on the cross-platform Tk toolkit (https://www.tcl.tk). A macOS-native version of Tk is included with the installer. *PyObjC* is a Python binding to Apple's Objective-C/Cocoa framework. Information on PyObjC is available from :pypi:`pyobjc`.
python, official-docs, cpython, P0
Local_Trusted_Corpus
5b43bef6-a9c6-4860-a8c4-f13d2ff802de
CPython Docs
file://datasets/cpython/Doc/using/mac.rst
unknown
3929ed90-fb1b-4fe8-95f7-b78c65b19387
54,463
supabase-export-v2
20c0766693c898f8
* :pypi:`py2app`: Supports creating macOS ``.app`` bundles from a Python project. * `Briefcase <https://briefcase.readthedocs.io>`_: Part of the `BeeWare Project <https://beeware.org>`_; a cross-platform packaging tool that supports creation of ``.app`` bundles on macOS, as well as managing signing and notarization.
trusted_official_docs
CPython Docs
* :pypi:`py2app`: Supports creating macOS ``.app`` bundles from a Python project. * `Briefcase <https://briefcase.readthedocs.io>`_: Part of the `BeeWare Project <https://beeware.org>`_; a cross-platform packaging tool that supports creation of ``.app`` bundles on macOS, as well as managing signing and notarization.
* :pypi:`py2app`: Supports creating macOS ``.app`` bundles from a Python project. * `Briefcase <https://briefcase.readthedocs.io>`_: Part of the `BeeWare Project <https://beeware.org>`_; a cross-platform packaging tool that supports creation of ``.app`` bundles on macOS, as well as managing signing and notarization.
python, official-docs, cpython, P0
Local_Trusted_Corpus
5e457e47-7a91-4494-9ffa-e9054801e72f
CPython Docs
file://datasets/cpython/Doc/using/mac.rst
unknown
3929ed90-fb1b-4fe8-95f7-b78c65b19387
54,385
supabase-export-v2
0a47b03291789795
one or more command line options (described in :ref:`using-on-general`). The Python tutorial also has a useful section on :ref:`using Python interactively from a shell <tut-interac>`. You can also invoke the interpreter through an integrated development environment. :ref:`idle` is a basic editor and interpreter environ...
trusted_official_docs
CPython Docs
one or more command line options (described in :ref:`using-on-general`). The Python tutorial also has a useful section on :ref:`using Python interactively from a shell <tut-interac>`. You can also invoke the interpreter through an integrated development environment. :ref:`idle` is a basic editor and interpreter environ...
one or more command line options (described in :ref:`using-on-general`). The Python tutorial also has a useful section on :ref:`using Python interactively from a shell <tut-interac>`. You can also invoke the interpreter through an integrated development environment. :ref:`idle` is a basic editor and interpreter environ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
5f42f761-0f38-4f85-adbe-c873fea8d345
CPython Docs
file://datasets/cpython/Doc/using/mac.rst
unknown
3929ed90-fb1b-4fe8-95f7-b78c65b19387
54,421
supabase-export-v2
e9661495c9f5446d
.. versionadded:: 3.13 The ``python.org`` :ref:`Python for macOS <getting-and-installing-macpython>` installer package can optionally install an additional build of Python |version| that supports :pep:`703`, the free-threading feature (running with the :term:`global interpreter lock` disabled). Check the release page o...
trusted_official_docs
CPython Docs
.. versionadded:: 3.13 The ``python.org`` :ref:`Python for macOS <getting-and-installing-macpython>` installer package can optionally install an additional build of Python |version| that supports :pep:`703`, the free-threading feature (running with the :term:`global interpreter lock` disabled). Check the release page o...
.. versionadded:: 3.13 The ``python.org`` :ref:`Python for macOS <getting-and-installing-macpython>` installer package can optionally install an additional build of Python |version| that supports :pep:`703`, the free-threading feature (running with the :term:`global interpreter lock` disabled). Check the release page o...
python, official-docs, cpython, P0
Local_Trusted_Corpus
60838c84-5702-4cf3-a20a-dcfa86012969
CPython Docs
file://datasets/cpython/Doc/using/mac.rst
unknown
3929ed90-fb1b-4fe8-95f7-b78c65b19387
54,441
supabase-export-v2
515b3c43aa3ca0a6
that both builds also share one set of trust certificates as installed by the :command:`Install Certificates.command` script, thus it only needs to be run once. - If you cannot depend on the link in ``/usr/local/bin`` pointing to the ``python.org`` free-threaded |python_x_dot_y_t_literal| (for example, if you want to...
trusted_official_docs
CPython Docs
that both builds also share one set of trust certificates as installed by the :command:`Install Certificates.command` script, thus it only needs to be run once. - If you cannot depend on the link in ``/usr/local/bin`` pointing to the ``python.org`` free-threaded |python_x_dot_y_t_literal| (for example, if you want to...
that both builds also share one set of trust certificates as installed by the :command:`Install Certificates.command` script, thus it only needs to be run once. - If you cannot depend on the link in ``/usr/local/bin`` pointing to the ``python.org`` free-threaded |python_x_dot_y_t_literal| (for example, if you want to...
python, official-docs, cpython, P0
Local_Trusted_Corpus
63ffb5d0-dbfc-4db8-90fc-dfe9a68b7930
CPython Docs
file://datasets/cpython/Doc/using/mac.rst
unknown
3929ed90-fb1b-4fe8-95f7-b78c65b19387
54,386
supabase-export-v2
5ffad2001f601671
Help menu that allows you to access Python documentation. If you are completely new to Python, you can read the tutorial introduction in that document. There are many other editors and IDEs available, see :ref:`editors` for more information.
trusted_official_docs
CPython Docs
Help menu that allows you to access Python documentation. If you are completely new to Python, you can read the tutorial introduction in that document. There are many other editors and IDEs available, see :ref:`editors` for more information.
Help menu that allows you to access Python documentation. If you are completely new to Python, you can read the tutorial introduction in that document. There are many other editors and IDEs available, see :ref:`editors` for more information.
python, official-docs, cpython, P0
Local_Trusted_Corpus
7fb3cccb-aa28-41a9-9eef-b63bffae9490
CPython Docs
file://datasets/cpython/Doc/using/mac.rst
unknown
3929ed90-fb1b-4fe8-95f7-b78c65b19387
54,426
supabase-export-v2
9c3c7aa84d3beb65
Known cautions and limitations: - The **UNIX command-line tools** package, which is selected by default, will install links in :file:`/usr/local/bin` for |python_x_dot_y_t_literal|, the free-threaded interpreter, and |python_x_dot_y_t_literal_config|, a configuration utility which may be useful for package builders....
trusted_official_docs
CPython Docs
Known cautions and limitations: - The **UNIX command-line tools** package, which is selected by default, will install links in :file:`/usr/local/bin` for |python_x_dot_y_t_literal|, the free-threaded interpreter, and |python_x_dot_y_t_literal_config|, a configuration utility which may be useful for package builders....
Known cautions and limitations: - The **UNIX command-line tools** package, which is selected by default, will install links in :file:`/usr/local/bin` for |python_x_dot_y_t_literal|, the free-threaded interpreter, and |python_x_dot_y_t_literal_config|, a configuration utility which may be useful for package builders....
python, official-docs, cpython, P0
Local_Trusted_Corpus
816bc15a-b5fc-4813-8852-339dccfa54d7
CPython Docs
file://datasets/cpython/Doc/using/mac.rst
unknown
3929ed90-fb1b-4fe8-95f7-b78c65b19387
54,471
supabase-export-v2
1cad1c8e03a3fe10
Other Resources =============== The `python.org Help page <https://www.python.org/about/help/>`_ has links to many useful resources. The `Pythonmac-SIG mailing list <https://www.python.org/community/sigs/current/pythonmac-sig/>`_ is another support resource specifically for Python users and developers on the Mac.
trusted_official_docs
CPython Docs
Other Resources =============== The `python.org Help page <https://www.python.org/about/help/>`_ has links to many useful resources. The `Pythonmac-SIG mailing list <https://www.python.org/community/sigs/current/pythonmac-sig/>`_ is another support resource specifically for Python users and developers on the Mac.
Other Resources =============== The `python.org Help page <https://www.python.org/about/help/>`_ has links to many useful resources. The `Pythonmac-SIG mailing list <https://www.python.org/community/sigs/current/pythonmac-sig/>`_ is another support resource specifically for Python users and developers on the Mac.
python, official-docs, cpython, P0
Local_Trusted_Corpus
826c304b-427a-42f4-8247-3a757134778e
CPython Docs
file://datasets/cpython/Doc/using/mac.rst
unknown
3929ed90-fb1b-4fe8-95f7-b78c65b19387
54,399
supabase-export-v2
e20013d243e7ae0b
`Homebrew <https://brew.sh>`_ Package manager for macOS including multiple versions of Python and many third-party Python-based packages (including numpy, scipy, and pandas). `MacPorts <https://www.macports.org>`_ Another package manager for macOS including multiple versions of Python and many third-party Python-base...
trusted_official_docs
CPython Docs
`Homebrew <https://brew.sh>`_ Package manager for macOS including multiple versions of Python and many third-party Python-based packages (including numpy, scipy, and pandas). `MacPorts <https://www.macports.org>`_ Another package manager for macOS including multiple versions of Python and many third-party Python-base...
`Homebrew <https://brew.sh>`_ Package manager for macOS including multiple versions of Python and many third-party Python-based packages (including numpy, scipy, and pandas). `MacPorts <https://www.macports.org>`_ Another package manager for macOS including multiple versions of Python and many third-party Python-base...
python, official-docs, cpython, P0
Local_Trusted_Corpus
82bd5900-fc5d-41ae-8204-4037261d4a19
CPython Docs
file://datasets/cpython/Doc/using/mac.rst
unknown
3929ed90-fb1b-4fe8-95f7-b78c65b19387
54,428
supabase-export-v2
5561ee1f478fcc08
- For this release, the **Shell profile updater** package and the :file:`Update Shell Profile.command` in |applications_python_version_literal| do not support the free-threaded package. - The free-threaded build and the traditional build have separate search paths and separate :file:`site-packages` directories so, by ...
trusted_official_docs
CPython Docs
- For this release, the **Shell profile updater** package and the :file:`Update Shell Profile.command` in |applications_python_version_literal| do not support the free-threaded package. - The free-threaded build and the traditional build have separate search paths and separate :file:`site-packages` directories so, by ...
- For this release, the **Shell profile updater** package and the :file:`Update Shell Profile.command` in |applications_python_version_literal| do not support the free-threaded package. - The free-threaded build and the traditional build have separate search paths and separate :file:`site-packages` directories so, by ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
84e355ad-7772-4f9e-8198-dcc0de7e3f39
CPython Docs
file://datasets/cpython/Doc/using/mac.rst
unknown
3929ed90-fb1b-4fe8-95f7-b78c65b19387
54,467
supabase-export-v2
c557060cdddf92b9
Store must pass Apple's app review process. This process includes a set of automated validation rules that inspect the submitted application bundle for problematic code. The Python standard library contains some code that is known to violate these automated rules. While these violations appear to be false positives, Ap...
trusted_official_docs
CPython Docs
Store must pass Apple's app review process. This process includes a set of automated validation rules that inspect the submitted application bundle for problematic code. The Python standard library contains some code that is known to violate these automated rules. While these violations appear to be false positives, Ap...
Store must pass Apple's app review process. This process includes a set of automated validation rules that inspect the submitted application bundle for problematic code. The Python standard library contains some code that is known to violate these automated rules. While these violations appear to be false positives, Ap...
python, official-docs, cpython, P0
Local_Trusted_Corpus
8fd7d1c5-2871-413c-bde3-c27c3a728c9b
CPython Docs
file://datasets/cpython/Doc/using/mac.rst
unknown
3929ed90-fb1b-4fe8-95f7-b78c65b19387
54,468
supabase-export-v2
1c575a0c92f30242
positives, Apple's review rules cannot be challenged. Therefore, it is necessary to modify the Python standard library for an app to pass App Store review. The Python source tree contains :source:`a patch file <Mac/Resources/app-store-compliance.patch>` that will remove all code that is known to cause issues with the A...
trusted_official_docs
CPython Docs
positives, Apple's review rules cannot be challenged. Therefore, it is necessary to modify the Python standard library for an app to pass App Store review. The Python source tree contains :source:`a patch file <Mac/Resources/app-store-compliance.patch>` that will remove all code that is known to cause issues with the A...
positives, Apple's review rules cannot be challenged. Therefore, it is necessary to modify the Python standard library for an app to pass App Store review. The Python source tree contains :source:`a patch file <Mac/Resources/app-store-compliance.patch>` that will remove all code that is known to cause issues with the A...
python, official-docs, cpython, P0
Local_Trusted_Corpus
9488da87-3d27-4f10-9ea5-8fb1889a58f8
CPython Docs
file://datasets/cpython/Doc/using/mac.rst
unknown
3929ed90-fb1b-4fe8-95f7-b78c65b19387
54,440
supabase-export-v2
4c243bd807ad324d
example, if you have ``PYTHONPATH`` set in a shell profile. If necessary, there are :ref:`command line options <using-on-interface-options>` like ``-E`` to ignore these environment variables. - The free-threaded build links to the third-party shared libraries, such as ``OpenSSL`` and ``Tk``, installed in the tradition...
trusted_official_docs
CPython Docs
example, if you have ``PYTHONPATH`` set in a shell profile. If necessary, there are :ref:`command line options <using-on-interface-options>` like ``-E`` to ignore these environment variables. - The free-threaded build links to the third-party shared libraries, such as ``OpenSSL`` and ``Tk``, installed in the tradition...
example, if you have ``PYTHONPATH`` set in a shell profile. If necessary, there are :ref:`command line options <using-on-interface-options>` like ``-E`` to ignore these environment variables. - The free-threaded build links to the third-party shared libraries, such as ``OpenSSL`` and ``Tk``, installed in the tradition...
python, official-docs, cpython, P0
Local_Trusted_Corpus
9526e850-687c-47e6-b579-de67629bcd41
CPython Docs
file://datasets/cpython/Doc/using/mac.rst
unknown
3929ed90-fb1b-4fe8-95f7-b78c65b19387
54,358
supabase-export-v2
02b23b98e0c72dc0
Installation steps ------------------ For `current Python versions <https://www.python.org/downloads/>`_ (other than those in ``security`` status), the release team produces a **Python for macOS** installer package for each new release. A list of available installers is available `here <https://www.python.org/downloads...
trusted_official_docs
CPython Docs
Installation steps ------------------ For `current Python versions <https://www.python.org/downloads/>`_ (other than those in ``security`` status), the release team produces a **Python for macOS** installer package for each new release. A list of available installers is available `here <https://www.python.org/downloads...
Installation steps ------------------ For `current Python versions <https://www.python.org/downloads/>`_ (other than those in ``security`` status), the release team produces a **Python for macOS** installer package for each new release. A list of available installers is available `here <https://www.python.org/downloads...
python, official-docs, cpython, P0
Local_Trusted_Corpus
962b63aa-ddd8-4cd6-8012-b0fc5d2fee6b
CPython Docs
file://datasets/cpython/Doc/using/mac.rst
unknown
3929ed90-fb1b-4fe8-95f7-b78c65b19387
54,456
supabase-export-v2
44f0d68cadb1f935
.. parsed-literal:: $ # test that the free-threaded interpreter was installed if the Unix Command Tools package was enabled $ /usr/local/bin/python\ |version|\ t -VV Python \ |version|\ .0b2 free-threading build (v\ |version|\ .0b2:3a83b172af, Jun 5 2024, 12:57:31) [Clang 15.0.0 (clang-1500.3.9.4)] $ # and the tradi...
trusted_official_docs
CPython Docs
.. parsed-literal:: $ # test that the free-threaded interpreter was installed if the Unix Command Tools package was enabled $ /usr/local/bin/python\ |version|\ t -VV Python \ |version|\ .0b2 free-threading build (v\ |version|\ .0b2:3a83b172af, Jun 5 2024, 12:57:31) [Clang 15.0.0 (clang-1500.3.9.4)] $ # and the tradi...
.. parsed-literal:: $ # test that the free-threaded interpreter was installed if the Unix Command Tools package was enabled $ /usr/local/bin/python\ |version|\ t -VV Python \ |version|\ .0b2 free-threading build (v\ |version|\ .0b2:3a83b172af, Jun 5 2024, 12:57:31) [Clang 15.0.0 (clang-1500.3.9.4)] $ # and the tradi...
python, official-docs, cpython, P0
Local_Trusted_Corpus
9821fa2a-44f6-4bcb-ac7e-604f9ae862d2
CPython Docs
file://datasets/cpython/Doc/using/mac.rst
unknown
3929ed90-fb1b-4fe8-95f7-b78c65b19387
54,400
supabase-export-v2
dde1400f89bab599
macOS including multiple versions of Python and many third-party Python-based packages. May include pre-built versions of Python and many packages for older versions of macOS. Note that distributions might not include the latest versions of Python or other libraries, and are not maintained or supported by the core Pyth...
trusted_official_docs
CPython Docs
macOS including multiple versions of Python and many third-party Python-based packages. May include pre-built versions of Python and many packages for older versions of macOS. Note that distributions might not include the latest versions of Python or other libraries, and are not maintained or supported by the core Pyth...
macOS including multiple versions of Python and many third-party Python-based packages. May include pre-built versions of Python and many packages for older versions of macOS. Note that distributions might not include the latest versions of Python or other libraries, and are not maintained or supported by the core Pyth...
python, official-docs, cpython, P0
Local_Trusted_Corpus
9823e8bb-042e-428a-ac34-7dfd8fe33a20
CPython Docs
file://datasets/cpython/Doc/using/mac.rst
unknown
3929ed90-fb1b-4fe8-95f7-b78c65b19387
54,384
supabase-export-v2
e6afb91638930392
How to run a Python script -------------------------- There are two ways to invoke the Python interpreter. If you are familiar with using a Unix shell in a terminal window, you can invoke |python_x_dot_y_literal| or ``python3`` optionally followed by one or more command line options (described in :ref:`using-on-general...
trusted_official_docs
CPython Docs
How to run a Python script -------------------------- There are two ways to invoke the Python interpreter. If you are familiar with using a Unix shell in a terminal window, you can invoke |python_x_dot_y_literal| or ``python3`` optionally followed by one or more command line options (described in :ref:`using-on-general...
How to run a Python script -------------------------- There are two ways to invoke the Python interpreter. If you are familiar with using a Unix shell in a terminal window, you can invoke |python_x_dot_y_literal| or ``python3`` optionally followed by one or more command line options (described in :ref:`using-on-general...
python, official-docs, cpython, P0
Local_Trusted_Corpus
996b4729-8093-4743-b3e4-8c80c2c10dbb
CPython Docs
file://datasets/cpython/Doc/using/mac.rst
unknown
3929ed90-fb1b-4fe8-95f7-b78c65b19387
54,360
supabase-export-v2
1ca10a98fba4b68f
download page. Installer packages and their contents are signed and notarized with ``Python Software Foundation`` Apple Developer ID certificates to meet `macOS Gatekeeper requirements <https://support.apple.com/en-us/102445>`_. For a default installation, double-click on the downloaded installer package file. This sho...
trusted_official_docs
CPython Docs
download page. Installer packages and their contents are signed and notarized with ``Python Software Foundation`` Apple Developer ID certificates to meet `macOS Gatekeeper requirements <https://support.apple.com/en-us/102445>`_. For a default installation, double-click on the downloaded installer package file. This sho...
download page. Installer packages and their contents are signed and notarized with ``Python Software Foundation`` Apple Developer ID certificates to meet `macOS Gatekeeper requirements <https://support.apple.com/en-us/102445>`_. For a default installation, double-click on the downloaded installer package file. This sho...
python, official-docs, cpython, P0
Local_Trusted_Corpus
a31b423c-1513-43d6-9a27-8b96450a4b84
CPython Docs
file://datasets/cpython/Doc/using/mac.rst
unknown
3929ed90-fb1b-4fe8-95f7-b78c65b19387
54,391
supabase-export-v2
dc41fd73d1998a2c
* Drag it to :program:`Python Launcher`. * Select :program:`Python Launcher` as the default application to open your script (or any ``.py`` script) through the Finder Info window and double-click it. :program:`Python Launcher` has various preferences to control how your script is launched. Option-dragging allows you ...
trusted_official_docs
CPython Docs
* Drag it to :program:`Python Launcher`. * Select :program:`Python Launcher` as the default application to open your script (or any ``.py`` script) through the Finder Info window and double-click it. :program:`Python Launcher` has various preferences to control how your script is launched. Option-dragging allows you ...
* Drag it to :program:`Python Launcher`. * Select :program:`Python Launcher` as the default application to open your script (or any ``.py`` script) through the Finder Info window and double-click it. :program:`Python Launcher` has various preferences to control how your script is launched. Option-dragging allows you ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
a4044f22-006c-4987-9b8f-923182eb5166
CPython Docs
file://datasets/cpython/Doc/using/mac.rst
unknown
3929ed90-fb1b-4fe8-95f7-b78c65b19387
54,382
supabase-export-v2
4bb182668bb5cfdb
.. note:: Recent versions of macOS include a :command:`python3` command in :file:`/usr/bin/python3` that links to a usually older and incomplete version of Python provided by and for use by the Apple development tools, :program:`Xcode` or the :program:`Command Line Tools for Xcode`. You should never modify or attempt...
trusted_official_docs
CPython Docs
.. note:: Recent versions of macOS include a :command:`python3` command in :file:`/usr/bin/python3` that links to a usually older and incomplete version of Python provided by and for use by the Apple development tools, :program:`Xcode` or the :program:`Command Line Tools for Xcode`. You should never modify or attempt...
.. note:: Recent versions of macOS include a :command:`python3` command in :file:`/usr/bin/python3` that links to a usually older and incomplete version of Python provided by and for use by the Apple development tools, :program:`Xcode` or the :program:`Command Line Tools for Xcode`. You should never modify or attempt...
python, official-docs, cpython, P0
Local_Trusted_Corpus
a73ae857-95a9-4cb1-a242-a0cb7cc9e04d
CPython Docs
file://datasets/cpython/Doc/using/mac.rst
unknown
3929ed90-fb1b-4fe8-95f7-b78c65b19387
54,429
supabase-export-v2
91f5e5389e16beb2
in both builds, it may need to be installed in both. The free-threaded package will install a separate instance of :program:`pip` for use with |python_x_dot_y_t_literal|. - To install a package using :command:`pip` without a :command:`venv`:
trusted_official_docs
CPython Docs
in both builds, it may need to be installed in both. The free-threaded package will install a separate instance of :program:`pip` for use with |python_x_dot_y_t_literal|. - To install a package using :command:`pip` without a :command:`venv`:
in both builds, it may need to be installed in both. The free-threaded package will install a separate instance of :program:`pip` for use with |python_x_dot_y_t_literal|. - To install a package using :command:`pip` without a :command:`venv`:
python, official-docs, cpython, P0
Local_Trusted_Corpus
ae74c7cb-d9ee-410d-925d-9cf5ec991bcf
CPython Docs
file://datasets/cpython/Doc/using/mac.rst
unknown
3929ed90-fb1b-4fe8-95f7-b78c65b19387
54,452
supabase-export-v2
7926b841c3e9f945
# download installer pkg curl -O \https://www.python.org/ftp/python/\ |version|\ .0/${RELEASE} # create installer choicechanges to customize the install: # enable the PythonTFramework-\ |version|\ package # while accepting the other defaults (install all other packages) cat > ./choicechanges.plist <<EOF <?xml versi...
trusted_official_docs
CPython Docs
# download installer pkg curl -O \https://www.python.org/ftp/python/\ |version|\ .0/${RELEASE} # create installer choicechanges to customize the install: # enable the PythonTFramework-\ |version|\ package # while accepting the other defaults (install all other packages) cat > ./choicechanges.plist <<EOF <?xml versi...
# download installer pkg curl -O \https://www.python.org/ftp/python/\ |version|\ .0/${RELEASE} # create installer choicechanges to customize the install: # enable the PythonTFramework-\ |version|\ package # while accepting the other defaults (install all other packages) cat > ./choicechanges.plist <<EOF <?xml versi...
python, official-docs, cpython, P0
Local_Trusted_Corpus
b3370cd8-5e1c-4174-9894-54df732f8637
CPython Docs
file://datasets/cpython/Doc/using/mac.rst
unknown
3929ed90-fb1b-4fe8-95f7-b78c65b19387
54,469
supabase-export-v2
7492afdaa05b24f6
that is known to cause issues with the App Store review process. This patch is applied automatically when CPython is configured with the :option:`--with-app-store-compliance` option. This patch is not normally required to use CPython on a Mac; nor is it required if you are distributing an app *outside* the macOS App St...
trusted_official_docs
CPython Docs
that is known to cause issues with the App Store review process. This patch is applied automatically when CPython is configured with the :option:`--with-app-store-compliance` option. This patch is not normally required to use CPython on a Mac; nor is it required if you are distributing an app *outside* the macOS App St...
that is known to cause issues with the App Store review process. This patch is applied automatically when CPython is configured with the :option:`--with-app-store-compliance` option. This patch is not normally required to use CPython on a Mac; nor is it required if you are distributing an app *outside* the macOS App St...
python, official-docs, cpython, P0
Local_Trusted_Corpus
b4be538d-3f69-4aa6-bd8a-fbee1eb3376d
CPython Docs
file://datasets/cpython/Doc/using/mac.rst
unknown
3929ed90-fb1b-4fe8-95f7-b78c65b19387
54,368
supabase-export-v2
d39efb51c368561c
.. image:: mac_installer_04_installation_type.png By pressing the **Customize** button, you can choose to omit or select certain package components of the installer. Click on each package name to see a description of what it installs. To also install support for the optional free-threaded feature, see :ref:`install-fre...
trusted_official_docs
CPython Docs
.. image:: mac_installer_04_installation_type.png By pressing the **Customize** button, you can choose to omit or select certain package components of the installer. Click on each package name to see a description of what it installs. To also install support for the optional free-threaded feature, see :ref:`install-fre...
.. image:: mac_installer_04_installation_type.png By pressing the **Customize** button, you can choose to omit or select certain package components of the installer. Click on each package name to see a description of what it installs. To also install support for the optional free-threaded feature, see :ref:`install-fre...
python, official-docs, cpython, P0
Local_Trusted_Corpus
b4ec982b-6649-47a7-9c51-934ed9257eed
CPython Docs
file://datasets/cpython/Doc/using/mac.rst
unknown
3929ed90-fb1b-4fe8-95f7-b78c65b19387
54,387
supabase-export-v2
934a8a37e9c20675
There are many other editors and IDEs available, see :ref:`editors` for more information. To run a Python script file from the terminal window, you can invoke the interpreter with the name of the script file:
trusted_official_docs
CPython Docs
There are many other editors and IDEs available, see :ref:`editors` for more information. To run a Python script file from the terminal window, you can invoke the interpreter with the name of the script file:
There are many other editors and IDEs available, see :ref:`editors` for more information. To run a Python script file from the terminal window, you can invoke the interpreter with the name of the script file:
python, official-docs, cpython, P0
Local_Trusted_Corpus
b870f1e4-593d-4d2e-a374-60a2153ee28c
CPython Docs
file://datasets/cpython/Doc/using/mac.rst
unknown
3929ed90-fb1b-4fe8-95f7-b78c65b19387
54,396
supabase-export-v2
2b78b20bc4280d6b
Besides the standard ``python.org`` for macOS installer, there are third-party distributions for macOS that may include additional functionality. Some popular distributions and their key features: `ActivePython <https://www.activestate.com/products/python/>`_ Installer with multi-platform compatibility, documentation
trusted_official_docs
CPython Docs
Besides the standard ``python.org`` for macOS installer, there are third-party distributions for macOS that may include additional functionality. Some popular distributions and their key features: `ActivePython <https://www.activestate.com/products/python/>`_ Installer with multi-platform compatibility, documentation
Besides the standard ``python.org`` for macOS installer, there are third-party distributions for macOS that may include additional functionality. Some popular distributions and their key features: `ActivePython <https://www.activestate.com/products/python/>`_ Installer with multi-platform compatibility, documentation
python, official-docs, cpython, P0
Local_Trusted_Corpus
cfa5ad56-e5cc-404f-a623-d06b1c0a48ab
CPython Docs
file://datasets/cpython/Doc/using/mac.rst
unknown
3929ed90-fb1b-4fe8-95f7-b78c65b19387
54,424
supabase-export-v2
f9c559d817a0b240
.. image:: mac_installer_09_custom_install_free_threaded.png If the box next to the **Free-threaded Python** package name is checked, a separate :file:`PythonT.framework` will also be installed alongside the normal :file:`Python.framework` in :file:`/Library/Frameworks`. This configuration allows a free-threaded Python...
trusted_official_docs
CPython Docs
.. image:: mac_installer_09_custom_install_free_threaded.png If the box next to the **Free-threaded Python** package name is checked, a separate :file:`PythonT.framework` will also be installed alongside the normal :file:`Python.framework` in :file:`/Library/Frameworks`. This configuration allows a free-threaded Python...
.. image:: mac_installer_09_custom_install_free_threaded.png If the box next to the **Free-threaded Python** package name is checked, a separate :file:`PythonT.framework` will also be installed alongside the normal :file:`Python.framework` in :file:`/Library/Frameworks`. This configuration allows a free-threaded Python...
python, official-docs, cpython, P0
Local_Trusted_Corpus
d9d29e24-24a4-48f1-9918-008c10742ba2
CPython Docs
file://datasets/cpython/Doc/using/mac.rst
unknown
3929ed90-fb1b-4fe8-95f7-b78c65b19387
54,453
supabase-export-v2
c55aea06963b77cd
version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "\http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <array> <dict> <key>attributeSetting</key> <integer>1</integer> <key>choiceAttribute</key> <string>selected</string> <key>choiceIdentifier</key> <string>org.pyth...
trusted_official_docs
CPython Docs
version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "\http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <array> <dict> <key>attributeSetting</key> <integer>1</integer> <key>choiceAttribute</key> <string>selected</string> <key>choiceIdentifier</key> <string>org.pyth...
version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "\http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <array> <dict> <key>attributeSetting</key> <integer>1</integer> <key>choiceAttribute</key> <string>selected</string> <key>choiceIdentifier</key> <string>org.pyth...
python, official-docs, cpython, P0
Local_Trusted_Corpus
dabf711f-4074-4331-ba88-4cfd46297d72
CPython Docs
file://datasets/cpython/Doc/using/mac.rst
unknown
3929ed90-fb1b-4fe8-95f7-b78c65b19387
54,383
supabase-export-v2
db7598f3e7280238
Python installations on your computer that can co-exist. The default installer options should ensure that its :command:`python3` will be used instead of the system :command:`python3`. How to run a Python script --------------------------
trusted_official_docs
CPython Docs
Python installations on your computer that can co-exist. The default installer options should ensure that its :command:`python3` will be used instead of the system :command:`python3`. How to run a Python script --------------------------
Python installations on your computer that can co-exist. The default installer options should ensure that its :command:`python3` will be used instead of the system :command:`python3`. How to run a Python script --------------------------
python, official-docs, cpython, P0
Local_Trusted_Corpus
dcd9505d-fbdc-4128-9f46-3b947b6284d6
CPython Docs
file://datasets/cpython/Doc/using/mac.rst
unknown
3929ed90-fb1b-4fe8-95f7-b78c65b19387
54,370
supabase-export-v2
cc6f1575dc76be57
.. image:: mac_installer_05_custom_install.png In either case, clicking **Install** will begin the install process by asking permission to install new software. A macOS user name with ``Administrator`` privilege is needed as the installed Python will be available to all users of the Mac.
trusted_official_docs
CPython Docs
.. image:: mac_installer_05_custom_install.png In either case, clicking **Install** will begin the install process by asking permission to install new software. A macOS user name with ``Administrator`` privilege is needed as the installed Python will be available to all users of the Mac.
.. image:: mac_installer_05_custom_install.png In either case, clicking **Install** will begin the install process by asking permission to install new software. A macOS user name with ``Administrator`` privilege is needed as the installed Python will be available to all users of the Mac.
python, official-docs, cpython, P0
Local_Trusted_Corpus
e7e3c6fb-6e91-4fb3-b0f8-fd721217b5c1
CPython Docs
file://datasets/cpython/Doc/using/mac.rst
unknown
3929ed90-fb1b-4fe8-95f7-b78c65b19387
54,444
supabase-export-v2
127fcafc33c6f8c4
export PATH="/Library/Frameworks/PythonT.framework/Versions/\ |version|\ /bin":"$PATH" The traditional framework installation by default does something similar, except for :file:`Python.framework`. Be aware that having both framework ``bin`` directories in ``PATH`` can lead to confusion if there are duplicate names ...
trusted_official_docs
CPython Docs
export PATH="/Library/Frameworks/PythonT.framework/Versions/\ |version|\ /bin":"$PATH" The traditional framework installation by default does something similar, except for :file:`Python.framework`. Be aware that having both framework ``bin`` directories in ``PATH`` can lead to confusion if there are duplicate names ...
export PATH="/Library/Frameworks/PythonT.framework/Versions/\ |version|\ /bin":"$PATH" The traditional framework installation by default does something similar, except for :file:`Python.framework`. Be aware that having both framework ``bin`` directories in ``PATH`` can lead to confusion if there are duplicate names ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
0216b2a5-3a25-4638-b5c1-25e3ebba9548
CPython Docs
file://datasets/cpython/Doc/using/cmdline.rst
unknown
9d6fd67d-1b1f-47f7-9470-06afdefc82b4
54,571
supabase-export-v2
0b467c33239dbcec
.. option:: -O Remove assert statements and any code conditional on the value of :const:`__debug__`. Augment the filename for compiled (:term:`bytecode`) files by adding ``.opt-1`` before the ``.pyc`` extension (see :pep:`488`). See also :envvar:`PYTHONOPTIMIZE`.
trusted_official_docs
CPython Docs
.. option:: -O Remove assert statements and any code conditional on the value of :const:`__debug__`. Augment the filename for compiled (:term:`bytecode`) files by adding ``.opt-1`` before the ``.pyc`` extension (see :pep:`488`). See also :envvar:`PYTHONOPTIMIZE`.
.. option:: -O Remove assert statements and any code conditional on the value of :const:`__debug__`. Augment the filename for compiled (:term:`bytecode`) files by adding ``.opt-1`` before the ``.pyc`` extension (see :pep:`488`). See also :envvar:`PYTHONOPTIMIZE`.
python, official-docs, cpython, P0
Local_Trusted_Corpus
0253ddc1-6cb3-4b10-adce-bc6f313e5c12
CPython Docs
file://datasets/cpython/Doc/using/cmdline.rst
unknown
9d6fd67d-1b1f-47f7-9470-06afdefc82b4
54,487
supabase-export-v2
30b98ec0208bdcfc
statements separated by newlines. * When called with ``-m module-name``, the given module is located on the Python module path and executed as a script. In non-interactive mode, the entire input is parsed before it is executed.
trusted_official_docs
CPython Docs
statements separated by newlines. * When called with ``-m module-name``, the given module is located on the Python module path and executed as a script. In non-interactive mode, the entire input is parsed before it is executed.
statements separated by newlines. * When called with ``-m module-name``, the given module is located on the Python module path and executed as a script. In non-interactive mode, the entire input is parsed before it is executed.
python, official-docs, cpython, P0
Local_Trusted_Corpus
0371b61f-45b6-4dca-97b9-d5916ee97e5f
CPython Docs
file://datasets/cpython/Doc/using/cmdline.rst
unknown
9d6fd67d-1b1f-47f7-9470-06afdefc82b4
54,514
supabase-export-v2
08000524fa99836f
.. describe:: <script> Execute the Python code contained in *script*, which must be a filesystem path (absolute or relative) referring to either a Python file, a directory containing a ``__main__.py`` file, or a zipfile containing a ``__main__.py`` file.
trusted_official_docs
CPython Docs
.. describe:: <script> Execute the Python code contained in *script*, which must be a filesystem path (absolute or relative) referring to either a Python file, a directory containing a ``__main__.py`` file, or a zipfile containing a ``__main__.py`` file.
.. describe:: <script> Execute the Python code contained in *script*, which must be a filesystem path (absolute or relative) referring to either a Python file, a directory containing a ``__main__.py`` file, or a zipfile containing a ``__main__.py`` file.
python, official-docs, cpython, P0
Local_Trusted_Corpus
0518a76a-cb17-40f2-8712-69f0fe320de7
CPython Docs
file://datasets/cpython/Doc/using/cmdline.rst
unknown
9d6fd67d-1b1f-47f7-9470-06afdefc82b4
54,825
supabase-export-v2
f14b3b28e2ec31a9
.. envvar:: PYTHONNODEBUGRANGES If this variable is set, it disables the inclusion of the tables mapping extra location information (end line, start column offset and end column offset) to every instruction in code objects. This is useful when smaller code objects and pyc files are desired as well as suppressing the...
trusted_official_docs
CPython Docs
.. envvar:: PYTHONNODEBUGRANGES If this variable is set, it disables the inclusion of the tables mapping extra location information (end line, start column offset and end column offset) to every instruction in code objects. This is useful when smaller code objects and pyc files are desired as well as suppressing the...
.. envvar:: PYTHONNODEBUGRANGES If this variable is set, it disables the inclusion of the tables mapping extra location information (end line, start column offset and end column offset) to every instruction in code objects. This is useful when smaller code objects and pyc files are desired as well as suppressing the...
python, official-docs, cpython, P0
Local_Trusted_Corpus
054f28f7-2b81-4a52-9a84-3bfa72ea65a8
CPython Docs
file://datasets/cpython/Doc/using/cmdline.rst
unknown
9d6fd67d-1b1f-47f7-9470-06afdefc82b4
54,618
supabase-export-v2
5ef5d79207f64611
within a Python program using the :mod:`warnings` module. For example, the :func:`warnings.filterwarnings` function can be used to use a regular expression on the warning message. See :ref:`warning-filter` and :ref:`describing-warning-filters` for more details.
trusted_official_docs
CPython Docs
within a Python program using the :mod:`warnings` module. For example, the :func:`warnings.filterwarnings` function can be used to use a regular expression on the warning message. See :ref:`warning-filter` and :ref:`describing-warning-filters` for more details.
within a Python program using the :mod:`warnings` module. For example, the :func:`warnings.filterwarnings` function can be used to use a regular expression on the warning message. See :ref:`warning-filter` and :ref:`describing-warning-filters` for more details.
python, official-docs, cpython, P0
Local_Trusted_Corpus
0673601f-6707-44a9-b8b0-456e66b2b008
CPython Docs
file://datasets/cpython/Doc/using/cmdline.rst
unknown
9d6fd67d-1b1f-47f7-9470-06afdefc82b4
54,613
supabase-export-v2
7c696e394beb29b4
this match is case-insensitive. If it starts and ends with a forward slash (``/``), it specifies a regular expression, otherwise it specifies a literal string. The *category* field matches the warning category (ex: ``DeprecationWarning``). This must be a class name; the match test whether the actual warning category ...
trusted_official_docs
CPython Docs
this match is case-insensitive. If it starts and ends with a forward slash (``/``), it specifies a regular expression, otherwise it specifies a literal string. The *category* field matches the warning category (ex: ``DeprecationWarning``). This must be a class name; the match test whether the actual warning category ...
this match is case-insensitive. If it starts and ends with a forward slash (``/``), it specifies a regular expression, otherwise it specifies a literal string. The *category* field matches the warning category (ex: ``DeprecationWarning``). This must be a class name; the match test whether the actual warning category ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
083824a0-04c1-41bc-8231-1470c5ab7d60
CPython Docs
file://datasets/cpython/Doc/using/cmdline.rst
unknown
9d6fd67d-1b1f-47f7-9470-06afdefc82b4
54,712
supabase-export-v2
2cc32116440bd572
.. envvar:: PYTHONDEBUG If this is set to a non-empty string it is equivalent to specifying the :option:`-d` option. If set to an integer, it is equivalent to specifying :option:`-d` multiple times.
trusted_official_docs
CPython Docs
.. envvar:: PYTHONDEBUG If this is set to a non-empty string it is equivalent to specifying the :option:`-d` option. If set to an integer, it is equivalent to specifying :option:`-d` multiple times.
.. envvar:: PYTHONDEBUG If this is set to a non-empty string it is equivalent to specifying the :option:`-d` option. If set to an integer, it is equivalent to specifying :option:`-d` multiple times.
python, official-docs, cpython, P0
Local_Trusted_Corpus
0838f707-c02e-4b1d-b1e2-dec8301602a6
CPython Docs
file://datasets/cpython/Doc/using/cmdline.rst
unknown
9d6fd67d-1b1f-47f7-9470-06afdefc82b4
54,749
supabase-export-v2
f735a7bf439ba904
.. envvar:: PYTHONUSERBASE Defines the :data:`user base directory <site.USER_BASE>`, which is used to compute the path of the :data:`user site-packages directory <site.USER_SITE>` and :ref:`installation paths <sysconfig-user-scheme>` for ``python -m pip install --user``.
trusted_official_docs
CPython Docs
.. envvar:: PYTHONUSERBASE Defines the :data:`user base directory <site.USER_BASE>`, which is used to compute the path of the :data:`user site-packages directory <site.USER_SITE>` and :ref:`installation paths <sysconfig-user-scheme>` for ``python -m pip install --user``.
.. envvar:: PYTHONUSERBASE Defines the :data:`user base directory <site.USER_BASE>`, which is used to compute the path of the :data:`user site-packages directory <site.USER_SITE>` and :ref:`installation paths <sysconfig-user-scheme>` for ``python -m pip install --user``.
python, official-docs, cpython, P0
Local_Trusted_Corpus
08d27d5b-e2a2-4d28-8e14-12d4c6f97e1d
CPython Docs
file://datasets/cpython/Doc/using/cmdline.rst
unknown
9d6fd67d-1b1f-47f7-9470-06afdefc82b4
54,792
supabase-export-v2
ce30519b9a2b5c99
— deliver ``SIGBUS`` and kill the process. Only enable this in environments where the huge-page pool is properly sized and fork-safety is not a concern. On Windows you need a special privilege. See the `Windows documentation for large pages <https://learn.microsoft.com/windows/win32/memory/large-page-support>`_ for ...
trusted_official_docs
CPython Docs
— deliver ``SIGBUS`` and kill the process. Only enable this in environments where the huge-page pool is properly sized and fork-safety is not a concern. On Windows you need a special privilege. See the `Windows documentation for large pages <https://learn.microsoft.com/windows/win32/memory/large-page-support>`_ for ...
— deliver ``SIGBUS`` and kill the process. Only enable this in environments where the huge-page pool is properly sized and fork-safety is not a concern. On Windows you need a special privilege. See the `Windows documentation for large pages <https://learn.microsoft.com/windows/win32/memory/large-page-support>`_ for ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
0b2b9d09-f573-4f46-a30b-4b02781b5984
CPython Docs
file://datasets/cpython/Doc/using/cmdline.rst
unknown
9d6fd67d-1b1f-47f7-9470-06afdefc82b4
54,804
supabase-export-v2
4fa230cd8f76cac7
.. envvar:: PYTHONCOERCECLOCALE If set to the value ``0``, causes the main Python command line application to skip coercing the legacy ASCII-based C and POSIX locales to a more capable UTF-8 based alternative.
trusted_official_docs
CPython Docs
.. envvar:: PYTHONCOERCECLOCALE If set to the value ``0``, causes the main Python command line application to skip coercing the legacy ASCII-based C and POSIX locales to a more capable UTF-8 based alternative.
.. envvar:: PYTHONCOERCECLOCALE If set to the value ``0``, causes the main Python command line application to skip coercing the legacy ASCII-based C and POSIX locales to a more capable UTF-8 based alternative.
python, official-docs, cpython, P0
Local_Trusted_Corpus
0be96dd8-bcb2-491a-870d-c939f24acce0
CPython Docs
file://datasets/cpython/Doc/using/cmdline.rst
unknown
9d6fd67d-1b1f-47f7-9470-06afdefc82b4
54,594
supabase-export-v2
0d375570fb40e71b
.. option:: -S Disable the import of the module :mod:`site` and the site-dependent manipulations of :data:`sys.path` that it entails. Also disable these manipulations if :mod:`site` is explicitly imported later (call :func:`site.main` if you want them to be triggered).
trusted_official_docs
CPython Docs
.. option:: -S Disable the import of the module :mod:`site` and the site-dependent manipulations of :data:`sys.path` that it entails. Also disable these manipulations if :mod:`site` is explicitly imported later (call :func:`site.main` if you want them to be triggered).
.. option:: -S Disable the import of the module :mod:`site` and the site-dependent manipulations of :data:`sys.path` that it entails. Also disable these manipulations if :mod:`site` is explicitly imported later (call :func:`site.main` if you want them to be triggered).
python, official-docs, cpython, P0
Local_Trusted_Corpus
0d6f9085-dbf8-46c2-ab4b-318afdc97626
CPython Docs
file://datasets/cpython/Doc/using/cmdline.rst
unknown
9d6fd67d-1b1f-47f7-9470-06afdefc82b4
54,607
supabase-export-v2
ba8ae389fbcd53ab
every time -Wall # Same as -Walways -Wmodule # Warn once per calling module -Wonce # Warn once per Python process -Wignore # Never warn The action names can be abbreviated as desired and the interpreter will resolve them to the appropriate action name. For example, ``-Wi`` is the same as ``-Wignore``.
trusted_official_docs
CPython Docs
every time -Wall # Same as -Walways -Wmodule # Warn once per calling module -Wonce # Warn once per Python process -Wignore # Never warn The action names can be abbreviated as desired and the interpreter will resolve them to the appropriate action name. For example, ``-Wi`` is the same as ``-Wignore``.
every time -Wall # Same as -Walways -Wmodule # Warn once per calling module -Wonce # Warn once per Python process -Wignore # Never warn The action names can be abbreviated as desired and the interpreter will resolve them to the appropriate action name. For example, ``-Wi`` is the same as ``-Wignore``.
python, official-docs, cpython, P0
Local_Trusted_Corpus
0e21039b-d7ee-430e-84ab-b3ed6927bc33
CPython Docs
file://datasets/cpython/Doc/using/cmdline.rst
unknown
9d6fd67d-1b1f-47f7-9470-06afdefc82b4
54,654
supabase-export-v2
488039535f6acaae
This includes both the functionality to schedule code for execution in another process and the functionality to receive code for execution in the current process. This option is only available on some platforms and will do nothing if is not supported on the current system. See also :envvar:`PYTHON_DISABLE_REMOTE_DEBU...
trusted_official_docs
CPython Docs
This includes both the functionality to schedule code for execution in another process and the functionality to receive code for execution in the current process. This option is only available on some platforms and will do nothing if is not supported on the current system. See also :envvar:`PYTHON_DISABLE_REMOTE_DEBU...
This includes both the functionality to schedule code for execution in another process and the functionality to receive code for execution in the current process. This option is only available on some platforms and will do nothing if is not supported on the current system. See also :envvar:`PYTHON_DISABLE_REMOTE_DEBU...
python, official-docs, cpython, P0
Local_Trusted_Corpus
10cc3d2b-492c-4240-9b1a-725d41ff9eda
CPython Docs
file://datasets/cpython/Doc/using/cmdline.rst
unknown
9d6fd67d-1b1f-47f7-9470-06afdefc82b4
54,517
supabase-export-v2
7e937519d1fa90f6
to a Python file, the directory containing that file is added to the start of :data:`sys.path`, and the file is executed as the :mod:`__main__` module. If the script name refers to a directory or zipfile, the script name is added to the start of :data:`sys.path` and the ``__main__.py`` file in that location is execut...
trusted_official_docs
CPython Docs
to a Python file, the directory containing that file is added to the start of :data:`sys.path`, and the file is executed as the :mod:`__main__` module. If the script name refers to a directory or zipfile, the script name is added to the start of :data:`sys.path` and the ``__main__.py`` file in that location is execut...
to a Python file, the directory containing that file is added to the start of :data:`sys.path`, and the file is executed as the :mod:`__main__` module. If the script name refers to a directory or zipfile, the script name is added to the start of :data:`sys.path` and the ``__main__.py`` file in that location is execut...
python, official-docs, cpython, P0
Local_Trusted_Corpus
1135fc15-c84a-4ae4-b7b2-f233e7090ba9
CPython Docs
file://datasets/cpython/Doc/using/cmdline.rst
unknown
9d6fd67d-1b1f-47f7-9470-06afdefc82b4
54,512
supabase-export-v2
6a054083bbbf50d8
If this option is given, the first element of :data:`sys.argv` will be ``"-"`` and the current directory will be added to the start of :data:`sys.path`. .. audit-event:: cpython.run_stdin "" ""
trusted_official_docs
CPython Docs
If this option is given, the first element of :data:`sys.argv` will be ``"-"`` and the current directory will be added to the start of :data:`sys.path`. .. audit-event:: cpython.run_stdin "" ""
If this option is given, the first element of :data:`sys.argv` will be ``"-"`` and the current directory will be added to the start of :data:`sys.path`. .. audit-event:: cpython.run_stdin "" ""
python, official-docs, cpython, P0
Local_Trusted_Corpus
16573cb3-efc0-4e30-9c4a-bb1db937dab6
CPython Docs
file://datasets/cpython/Doc/using/cmdline.rst
unknown
9d6fd67d-1b1f-47f7-9470-06afdefc82b4
54,547
supabase-export-v2
ffd832b81f59dba4
:class:`str` without specifying encoding or comparing :class:`!bytes` or :class:`!bytearray` with :class:`!str` or :class:`!bytes` with :class:`int`. Issue an error when the option is given twice (:option:`!-bb`). .. versionchanged:: 3.5 Affects also comparisons of :class:`bytes` with :class:`int`.
trusted_official_docs
CPython Docs
:class:`str` without specifying encoding or comparing :class:`!bytes` or :class:`!bytearray` with :class:`!str` or :class:`!bytes` with :class:`int`. Issue an error when the option is given twice (:option:`!-bb`). .. versionchanged:: 3.5 Affects also comparisons of :class:`bytes` with :class:`int`.
:class:`str` without specifying encoding or comparing :class:`!bytes` or :class:`!bytearray` with :class:`!str` or :class:`!bytes` with :class:`int`. Issue an error when the option is given twice (:option:`!-bb`). .. versionchanged:: 3.5 Affects also comparisons of :class:`bytes` with :class:`int`.
python, official-docs, cpython, P0
Local_Trusted_Corpus
16ddd4be-6f1e-4309-8cc0-b896a38b398f
CPython Docs
file://datasets/cpython/Doc/using/cmdline.rst
unknown
9d6fd67d-1b1f-47f7-9470-06afdefc82b4
54,716
supabase-export-v2
6f6dda0b45ef719a
If this is set to a non-empty string it is equivalent to specifying the :option:`-i` option. This variable can also be modified by Python code using :data:`os.environ` to force inspect mode on program termination.
trusted_official_docs
CPython Docs
If this is set to a non-empty string it is equivalent to specifying the :option:`-i` option. This variable can also be modified by Python code using :data:`os.environ` to force inspect mode on program termination.
If this is set to a non-empty string it is equivalent to specifying the :option:`-i` option. This variable can also be modified by Python code using :data:`os.environ` to force inspect mode on program termination.
python, official-docs, cpython, P0
Local_Trusted_Corpus
195ee219-2ea1-498d-8c2a-a698d549cab0
CPython Docs
file://datasets/cpython/Doc/using/cmdline.rst
unknown
9d6fd67d-1b1f-47f7-9470-06afdefc82b4
54,877
supabase-export-v2
df3415d085950022
.. envvar:: PYTHON_LAZY_IMPORTS Controls lazy import behavior. Accepts three values: ``all`` makes all imports lazy by default, ``none`` disables lazy imports entirely (even explicit ``lazy`` statements become eager), and ``normal`` (the default) respects the ``lazy`` keyword in source code.
trusted_official_docs
CPython Docs
.. envvar:: PYTHON_LAZY_IMPORTS Controls lazy import behavior. Accepts three values: ``all`` makes all imports lazy by default, ``none`` disables lazy imports entirely (even explicit ``lazy`` statements become eager), and ``normal`` (the default) respects the ``lazy`` keyword in source code.
.. envvar:: PYTHON_LAZY_IMPORTS Controls lazy import behavior. Accepts three values: ``all`` makes all imports lazy by default, ``none`` disables lazy imports entirely (even explicit ``lazy`` statements become eager), and ``normal`` (the default) respects the ``lazy`` keyword in source code.
python, official-docs, cpython, P0
Local_Trusted_Corpus
1abddcfe-8739-45f6-8558-dc170a2b7392
CPython Docs
file://datasets/cpython/Doc/using/cmdline.rst
unknown
9d6fd67d-1b1f-47f7-9470-06afdefc82b4
54,789
supabase-export-v2
59d332a9ff754896
support for :ref:`pymalloc <pymalloc>` arenas. Set to ``0`` or unset to disable. Python must be compiled with :option:`--with-pymalloc-hugepages` for this variable to have any effect. When enabled, arena allocation uses ``MAP_HUGETLB`` (Linux) or ``MEM_LARGE_PAGES`` (Windows) with automatic fallback to regular pages i...
trusted_official_docs
CPython Docs
support for :ref:`pymalloc <pymalloc>` arenas. Set to ``0`` or unset to disable. Python must be compiled with :option:`--with-pymalloc-hugepages` for this variable to have any effect. When enabled, arena allocation uses ``MAP_HUGETLB`` (Linux) or ``MEM_LARGE_PAGES`` (Windows) with automatic fallback to regular pages i...
support for :ref:`pymalloc <pymalloc>` arenas. Set to ``0`` or unset to disable. Python must be compiled with :option:`--with-pymalloc-hugepages` for this variable to have any effect. When enabled, arena allocation uses ``MAP_HUGETLB`` (Linux) or ``MEM_LARGE_PAGES`` (Windows) with automatic fallback to regular pages i...
python, official-docs, cpython, P0
Local_Trusted_Corpus
1bc53239-f7f7-4b93-9e67-9ea634e276b8
CPython Docs
file://datasets/cpython/Doc/using/cmdline.rst
unknown
9d6fd67d-1b1f-47f7-9470-06afdefc82b4
54,859
supabase-export-v2
b82a9aeb36a0a060
.. envvar:: PYTHON_GIL If this variable is set to ``1``, the global interpreter lock (GIL) will be forced on. Setting it to ``0`` forces the GIL off (needs Python configured with the :option:`--disable-gil` build option).
trusted_official_docs
CPython Docs
.. envvar:: PYTHON_GIL If this variable is set to ``1``, the global interpreter lock (GIL) will be forced on. Setting it to ``0`` forces the GIL off (needs Python configured with the :option:`--disable-gil` build option).
.. envvar:: PYTHON_GIL If this variable is set to ``1``, the global interpreter lock (GIL) will be forced on. Setting it to ``0`` forces the GIL off (needs Python configured with the :option:`--disable-gil` build option).
python, official-docs, cpython, P0
Local_Trusted_Corpus
1da44859-2b50-4a84-8381-5534f7505878
CPython Docs
file://datasets/cpython/Doc/using/cmdline.rst
unknown
9d6fd67d-1b1f-47f7-9470-06afdefc82b4
54,808
supabase-export-v2
eee3c38e9cb44097
are running a Python interpreter), as well as in operations that query the environment rather than the current C locale (such as Python's own :func:`locale.getdefaultlocale`). Configuring one of these locales (either explicitly or via the above implicit locale coercion) automatically enables the ``surrogateescape`` :...
trusted_official_docs
CPython Docs
are running a Python interpreter), as well as in operations that query the environment rather than the current C locale (such as Python's own :func:`locale.getdefaultlocale`). Configuring one of these locales (either explicitly or via the above implicit locale coercion) automatically enables the ``surrogateescape`` :...
are running a Python interpreter), as well as in operations that query the environment rather than the current C locale (such as Python's own :func:`locale.getdefaultlocale`). Configuring one of these locales (either explicitly or via the above implicit locale coercion) automatically enables the ``surrogateescape`` :...
python, official-docs, cpython, P0
Local_Trusted_Corpus
1db7a80d-096f-495a-827e-1636be333c59
CPython Docs
file://datasets/cpython/Doc/using/cmdline.rst
unknown
9d6fd67d-1b1f-47f7-9470-06afdefc82b4
54,762
supabase-export-v2
a5f4735dced391c1
.. envvar:: PYTHONFAULTHANDLER If this environment variable is set to a non-empty string, :func:`faulthandler.enable` is called at startup: install a handler for :const:`~signal.SIGSEGV`, :const:`~signal.SIGFPE`, :const:`~signal.SIGABRT`, :const:`~signal.SIGBUS` and :const:`~signal.SIGILL` signals to dump the Pytho...
trusted_official_docs
CPython Docs
.. envvar:: PYTHONFAULTHANDLER If this environment variable is set to a non-empty string, :func:`faulthandler.enable` is called at startup: install a handler for :const:`~signal.SIGSEGV`, :const:`~signal.SIGFPE`, :const:`~signal.SIGABRT`, :const:`~signal.SIGBUS` and :const:`~signal.SIGILL` signals to dump the Pytho...
.. envvar:: PYTHONFAULTHANDLER If this environment variable is set to a non-empty string, :func:`faulthandler.enable` is called at startup: install a handler for :const:`~signal.SIGSEGV`, :const:`~signal.SIGFPE`, :const:`~signal.SIGABRT`, :const:`~signal.SIGBUS` and :const:`~signal.SIGILL` signals to dump the Pytho...
python, official-docs, cpython, P0
Local_Trusted_Corpus
1ea0f855-4a6e-426e-9252-ecfcde3c7271
CPython Docs
file://datasets/cpython/Doc/using/cmdline.rst
unknown
9d6fd67d-1b1f-47f7-9470-06afdefc82b4
54,586
supabase-export-v2
db50b08fbcd85a1f
a denial-of-service caused by carefully chosen inputs that exploit the worst case performance of a dict construction, *O*\ (*n*\ :sup:`2`) complexity. See https://ocert.org/advisories/ocert-2011-003.html for details. :envvar:`PYTHONHASHSEED` allows you to set a fixed value for the hash seed secret.
trusted_official_docs
CPython Docs
a denial-of-service caused by carefully chosen inputs that exploit the worst case performance of a dict construction, *O*\ (*n*\ :sup:`2`) complexity. See https://ocert.org/advisories/ocert-2011-003.html for details. :envvar:`PYTHONHASHSEED` allows you to set a fixed value for the hash seed secret.
a denial-of-service caused by carefully chosen inputs that exploit the worst case performance of a dict construction, *O*\ (*n*\ :sup:`2`) complexity. See https://ocert.org/advisories/ocert-2011-003.html for details. :envvar:`PYTHONHASHSEED` allows you to set a fixed value for the hash seed secret.
python, official-docs, cpython, P0
Local_Trusted_Corpus
1f07e6d9-d5b2-42d5-b447-6134321367e3
CPython Docs
file://datasets/cpython/Doc/using/cmdline.rst
unknown
9d6fd67d-1b1f-47f7-9470-06afdefc82b4
54,553
supabase-export-v2
433ecddf91a1acd0
.. option:: --check-hash-based-pycs default|always|never Control the validation behavior of hash-based ``.pyc`` files. See :ref:`pyc-invalidation`. When set to ``default``, checked and unchecked hash-based bytecode cache files are validated according to their default semantics. When set to ``always``, all hash-based...
trusted_official_docs
CPython Docs
.. option:: --check-hash-based-pycs default|always|never Control the validation behavior of hash-based ``.pyc`` files. See :ref:`pyc-invalidation`. When set to ``default``, checked and unchecked hash-based bytecode cache files are validated according to their default semantics. When set to ``always``, all hash-based...
.. option:: --check-hash-based-pycs default|always|never Control the validation behavior of hash-based ``.pyc`` files. See :ref:`pyc-invalidation`. When set to ``default``, checked and unchecked hash-based bytecode cache files are validated according to their default semantics. When set to ``always``, all hash-based...
python, official-docs, cpython, P0
Local_Trusted_Corpus
20ea84c6-10ee-492b-9857-7e5438526f03
CPython Docs
file://datasets/cpython/Doc/using/cmdline.rst
unknown
9d6fd67d-1b1f-47f7-9470-06afdefc82b4
54,549
supabase-export-v2
04ca72057823fa89
.. deprecated:: 3.15 Deprecate :option:`-b` and :option:`!-bb` command line options and schedule them to become no-op in Python 3.17. These were primarily helpers for the Python 2 -> 3 transition. Starting with Python 3.17, no :exc:`BytesWarning` will be raised for these cases; use a type checker instead.
trusted_official_docs
CPython Docs
.. deprecated:: 3.15 Deprecate :option:`-b` and :option:`!-bb` command line options and schedule them to become no-op in Python 3.17. These were primarily helpers for the Python 2 -> 3 transition. Starting with Python 3.17, no :exc:`BytesWarning` will be raised for these cases; use a type checker instead.
.. deprecated:: 3.15 Deprecate :option:`-b` and :option:`!-bb` command line options and schedule them to become no-op in Python 3.17. These were primarily helpers for the Python 2 -> 3 transition. Starting with Python 3.17, no :exc:`BytesWarning` will be raised for these cases; use a type checker instead.
python, official-docs, cpython, P0
Local_Trusted_Corpus
22d9cb49-88bb-4add-a44d-4917666ab776
CPython Docs
file://datasets/cpython/Doc/using/cmdline.rst
unknown
9d6fd67d-1b1f-47f7-9470-06afdefc82b4
54,765
supabase-export-v2
6ea1e9b529365829
.. envvar:: PYTHONTRACEMALLOC If this environment variable is set to a non-empty string, start tracing Python memory allocations using the :mod:`tracemalloc` module. The value of the variable is the maximum number of frames stored in a traceback of a trace. For example, ``PYTHONTRACEMALLOC=1`` stores only the most r...
trusted_official_docs
CPython Docs
.. envvar:: PYTHONTRACEMALLOC If this environment variable is set to a non-empty string, start tracing Python memory allocations using the :mod:`tracemalloc` module. The value of the variable is the maximum number of frames stored in a traceback of a trace. For example, ``PYTHONTRACEMALLOC=1`` stores only the most r...
.. envvar:: PYTHONTRACEMALLOC If this environment variable is set to a non-empty string, start tracing Python memory allocations using the :mod:`tracemalloc` module. The value of the variable is the maximum number of frames stored in a traceback of a trace. For example, ``PYTHONTRACEMALLOC=1`` stores only the most r...
python, official-docs, cpython, P0
Local_Trusted_Corpus
23af677d-1a39-4ba1-95d4-2c72d4bf62ad
CPython Docs
file://datasets/cpython/Doc/using/cmdline.rst
unknown
9d6fd67d-1b1f-47f7-9470-06afdefc82b4
54,757
supabase-export-v2
f0daf50141540aa1
comma separated string, it is equivalent to specifying :option:`-W` multiple times, with filters later in the list taking precedence over those earlier in the list. The simplest settings apply a particular action unconditionally to all warnings emitted by a process (even those that are otherwise ignored by default)::
trusted_official_docs
CPython Docs
comma separated string, it is equivalent to specifying :option:`-W` multiple times, with filters later in the list taking precedence over those earlier in the list. The simplest settings apply a particular action unconditionally to all warnings emitted by a process (even those that are otherwise ignored by default)::
comma separated string, it is equivalent to specifying :option:`-W` multiple times, with filters later in the list taking precedence over those earlier in the list. The simplest settings apply a particular action unconditionally to all warnings emitted by a process (even those that are otherwise ignored by default)::
python, official-docs, cpython, P0
Local_Trusted_Corpus
23d1544a-797d-4dff-8e93-ea2092a54e69
CPython Docs
file://datasets/cpython/Doc/using/cmdline.rst
unknown
9d6fd67d-1b1f-47f7-9470-06afdefc82b4
54,575
supabase-export-v2
aa664cd1b1825c03
Do :option:`-O` and also discard docstrings. Augment the filename for compiled (:term:`bytecode`) files by adding ``.opt-2`` before the ``.pyc`` extension (see :pep:`488`). .. versionchanged:: 3.5 Modify ``.pyc`` filenames according to :pep:`488`.
trusted_official_docs
CPython Docs
Do :option:`-O` and also discard docstrings. Augment the filename for compiled (:term:`bytecode`) files by adding ``.opt-2`` before the ``.pyc`` extension (see :pep:`488`). .. versionchanged:: 3.5 Modify ``.pyc`` filenames according to :pep:`488`.
Do :option:`-O` and also discard docstrings. Augment the filename for compiled (:term:`bytecode`) files by adding ``.opt-2`` before the ``.pyc`` extension (see :pep:`488`). .. versionchanged:: 3.5 Modify ``.pyc`` filenames according to :pep:`488`.
python, official-docs, cpython, P0
Local_Trusted_Corpus
25d97535-e6c8-4cab-9bf7-b7b85ab86244
CPython Docs
file://datasets/cpython/Doc/using/cmdline.rst
unknown
9d6fd67d-1b1f-47f7-9470-06afdefc82b4
54,647
supabase-export-v2
a595abb30e7bf88e
.. versionadded:: 3.11 * ``-X frozen_modules`` determines whether or not frozen modules are ignored by the import machinery. A value of ``on`` means they get imported and ``off`` means they are ignored. The default is ``on`` if this is an installed Python (the normal case). If it's under development (running from t...
trusted_official_docs
CPython Docs
.. versionadded:: 3.11 * ``-X frozen_modules`` determines whether or not frozen modules are ignored by the import machinery. A value of ``on`` means they get imported and ``off`` means they are ignored. The default is ``on`` if this is an installed Python (the normal case). If it's under development (running from t...
.. versionadded:: 3.11 * ``-X frozen_modules`` determines whether or not frozen modules are ignored by the import machinery. A value of ``on`` means they get imported and ``off`` means they are ignored. The default is ``on`` if this is an installed Python (the normal case). If it's under development (running from t...
python, official-docs, cpython, P0
Local_Trusted_Corpus
28d06996-b118-496a-a9fa-31f4efa62361
CPython Docs
file://datasets/cpython/Doc/using/cmdline.rst
unknown
9d6fd67d-1b1f-47f7-9470-06afdefc82b4
54,809
supabase-export-v2
140b5811b99e0c3d
and :data:`sys.stdout` (:data:`sys.stderr` continues to use ``backslashreplace`` as it does in any other locale). This stream handling behavior can be overridden using :envvar:`PYTHONIOENCODING` as usual. For debugging purposes, setting ``PYTHONCOERCECLOCALE=warn`` will cause Python to emit warning messages on ``stder...
trusted_official_docs
CPython Docs
and :data:`sys.stdout` (:data:`sys.stderr` continues to use ``backslashreplace`` as it does in any other locale). This stream handling behavior can be overridden using :envvar:`PYTHONIOENCODING` as usual. For debugging purposes, setting ``PYTHONCOERCECLOCALE=warn`` will cause Python to emit warning messages on ``stder...
and :data:`sys.stdout` (:data:`sys.stderr` continues to use ``backslashreplace`` as it does in any other locale). This stream handling behavior can be overridden using :envvar:`PYTHONIOENCODING` as usual. For debugging purposes, setting ``PYTHONCOERCECLOCALE=warn`` will cause Python to emit warning messages on ``stder...
python, official-docs, cpython, P0
Local_Trusted_Corpus
2d31dfef-824e-4c0d-baeb-0651820c340e
CPython Docs
file://datasets/cpython/Doc/using/cmdline.rst
unknown
9d6fd67d-1b1f-47f7-9470-06afdefc82b4
54,839
supabase-export-v2
0bf01aa772cc6b16
This includes both the functionality to schedule code for execution in another process and the functionality to receive code for execution in the current process. See also the :option:`-X disable_remote_debug` command-line option.
trusted_official_docs
CPython Docs
This includes both the functionality to schedule code for execution in another process and the functionality to receive code for execution in the current process. See also the :option:`-X disable_remote_debug` command-line option.
This includes both the functionality to schedule code for execution in another process and the functionality to receive code for execution in the current process. See also the :option:`-X disable_remote_debug` command-line option.
python, official-docs, cpython, P0
Local_Trusted_Corpus
2eb71f19-be76-484d-b105-a8cff03fe78a
CPython Docs
file://datasets/cpython/Doc/using/cmdline.rst
unknown
9d6fd67d-1b1f-47f7-9470-06afdefc82b4
54,829
supabase-export-v2
b9ac471d18b66cc4
If this variable is set to a nonzero value, it enables support for the Linux ``perf`` profiler so Python calls can be detected by it. If set to ``0``, disable Linux ``perf`` profiler support.
trusted_official_docs
CPython Docs
If this variable is set to a nonzero value, it enables support for the Linux ``perf`` profiler so Python calls can be detected by it. If set to ``0``, disable Linux ``perf`` profiler support.
If this variable is set to a nonzero value, it enables support for the Linux ``perf`` profiler so Python calls can be detected by it. If set to ``0``, disable Linux ``perf`` profiler support.
python, official-docs, cpython, P0
Local_Trusted_Corpus
2ed2b311-e831-49e2-8392-116615438eba
CPython Docs
file://datasets/cpython/Doc/using/cmdline.rst
unknown
9d6fd67d-1b1f-47f7-9470-06afdefc82b4
54,606
supabase-export-v2
1fc2b09fec6f2825
The simplest settings apply a particular action unconditionally to all warnings emitted by a process (even those that are otherwise ignored by default):: -Wdefault # Warn once per call location -Werror # Convert to exceptions -Walways # Warn every time -Wall # Same as -Walways -Wmodule # Warn once per calling modul...
trusted_official_docs
CPython Docs
The simplest settings apply a particular action unconditionally to all warnings emitted by a process (even those that are otherwise ignored by default):: -Wdefault # Warn once per call location -Werror # Convert to exceptions -Walways # Warn every time -Wall # Same as -Walways -Wmodule # Warn once per calling modul...
The simplest settings apply a particular action unconditionally to all warnings emitted by a process (even those that are otherwise ignored by default):: -Wdefault # Warn once per call location -Werror # Convert to exceptions -Walways # Warn every time -Wall # Same as -Walways -Wmodule # Warn once per calling modul...
python, official-docs, cpython, P0
Local_Trusted_Corpus
2f8f4d00-4310-4920-8c5f-3587f7e31fdf
CPython Docs
file://datasets/cpython/Doc/using/cmdline.rst
unknown
9d6fd67d-1b1f-47f7-9470-06afdefc82b4
54,759
supabase-export-v2
a39d0dff446240ab
every time PYTHONWARNINGS=all # Same as PYTHONWARNINGS=always PYTHONWARNINGS=module # Warn once per calling module PYTHONWARNINGS=once # Warn once per Python process PYTHONWARNINGS=ignore # Never warn See :ref:`warning-filter` and :ref:`describing-warning-filters` for more details.
trusted_official_docs
CPython Docs
every time PYTHONWARNINGS=all # Same as PYTHONWARNINGS=always PYTHONWARNINGS=module # Warn once per calling module PYTHONWARNINGS=once # Warn once per Python process PYTHONWARNINGS=ignore # Never warn See :ref:`warning-filter` and :ref:`describing-warning-filters` for more details.
every time PYTHONWARNINGS=all # Same as PYTHONWARNINGS=always PYTHONWARNINGS=module # Warn once per calling module PYTHONWARNINGS=once # Warn once per Python process PYTHONWARNINGS=ignore # Never warn See :ref:`warning-filter` and :ref:`describing-warning-filters` for more details.
python, official-docs, cpython, P0
Local_Trusted_Corpus
34d5b21c-9e4f-4969-997b-d3cfb64b501b
CPython Docs
file://datasets/cpython/Doc/using/cmdline.rst
unknown
9d6fd67d-1b1f-47f7-9470-06afdefc82b4
54,795
supabase-export-v2
fb66f9c60c5a6fd2
.. envvar:: PYTHONLEGACYWINDOWSFSENCODING If set to a non-empty string, the default :term:`filesystem encoding and error handler` mode will revert to their pre-3.6 values of 'mbcs' and 'replace', respectively. Otherwise, the new defaults 'utf-8' and 'surrogatepass' are used.
trusted_official_docs
CPython Docs
.. envvar:: PYTHONLEGACYWINDOWSFSENCODING If set to a non-empty string, the default :term:`filesystem encoding and error handler` mode will revert to their pre-3.6 values of 'mbcs' and 'replace', respectively. Otherwise, the new defaults 'utf-8' and 'surrogatepass' are used.
.. envvar:: PYTHONLEGACYWINDOWSFSENCODING If set to a non-empty string, the default :term:`filesystem encoding and error handler` mode will revert to their pre-3.6 values of 'mbcs' and 'replace', respectively. Otherwise, the new defaults 'utf-8' and 'surrogatepass' are used.
python, official-docs, cpython, P0
Local_Trusted_Corpus
3542efff-ff9c-4a6e-a3b9-111f1bd30b2f
CPython Docs
file://datasets/cpython/Doc/using/cmdline.rst
unknown
9d6fd67d-1b1f-47f7-9470-06afdefc82b4
54,846
supabase-export-v2
57370d860fb5a196
.. envvar:: PYTHON_FROZEN_MODULES If this variable is set to ``on`` or ``off``, it determines whether or not frozen modules are ignored by the import machinery. A value of ``on`` means they get imported and ``off`` means they are ignored. The default is ``on`` for non-debug builds (the normal case) and ``off`` for d...
trusted_official_docs
CPython Docs
.. envvar:: PYTHON_FROZEN_MODULES If this variable is set to ``on`` or ``off``, it determines whether or not frozen modules are ignored by the import machinery. A value of ``on`` means they get imported and ``off`` means they are ignored. The default is ``on`` for non-debug builds (the normal case) and ``off`` for d...
.. envvar:: PYTHON_FROZEN_MODULES If this variable is set to ``on`` or ``off``, it determines whether or not frozen modules are ignored by the import machinery. A value of ``on`` means they get imported and ``off`` means they are ignored. The default is ``on`` for non-debug builds (the normal case) and ``off`` for d...
python, official-docs, cpython, P0
Local_Trusted_Corpus
368eedb8-1229-410f-82c2-2a634bf7fffc
CPython Docs
file://datasets/cpython/Doc/using/cmdline.rst
unknown
9d6fd67d-1b1f-47f7-9470-06afdefc82b4
54,869
supabase-export-v2
2adfe4435c4eed0a
.. envvar:: PYTHON_PATHCONFIG_WARNINGS If true (``1``) then :ref:`sys-path-init` is allowed to log warnings into stderr. If false (``0``) suppress these warnings. Set to true by default. See also :option:`-X pathconfig_warnings<-X>`.
trusted_official_docs
CPython Docs
.. envvar:: PYTHON_PATHCONFIG_WARNINGS If true (``1``) then :ref:`sys-path-init` is allowed to log warnings into stderr. If false (``0``) suppress these warnings. Set to true by default. See also :option:`-X pathconfig_warnings<-X>`.
.. envvar:: PYTHON_PATHCONFIG_WARNINGS If true (``1``) then :ref:`sys-path-init` is allowed to log warnings into stderr. If false (``0``) suppress these warnings. Set to true by default. See also :option:`-X pathconfig_warnings<-X>`.
python, official-docs, cpython, P0
Local_Trusted_Corpus
37cedb04-7fa8-47f2-b238-7240b0f756cf
CPython Docs
file://datasets/cpython/Doc/using/cmdline.rst
unknown
9d6fd67d-1b1f-47f7-9470-06afdefc82b4
54,518
supabase-export-v2
392968736b94b223
or zipfile, the script name is added to the start of :data:`sys.path` and the ``__main__.py`` file in that location is executed as the :mod:`__main__` module. :option:`-I` option can be used to run the script in isolated mode where :data:`sys.path` contains neither the script's directory nor the user's site-packages ...
trusted_official_docs
CPython Docs
or zipfile, the script name is added to the start of :data:`sys.path` and the ``__main__.py`` file in that location is executed as the :mod:`__main__` module. :option:`-I` option can be used to run the script in isolated mode where :data:`sys.path` contains neither the script's directory nor the user's site-packages ...
or zipfile, the script name is added to the start of :data:`sys.path` and the ``__main__.py`` file in that location is executed as the :mod:`__main__` module. :option:`-I` option can be used to run the script in isolated mode where :data:`sys.path` contains neither the script's directory nor the user's site-packages ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
3ef471ed-600a-432a-b98b-487c83dbab43
CPython Docs
file://datasets/cpython/Doc/using/cmdline.rst
unknown
9d6fd67d-1b1f-47f7-9470-06afdefc82b4
54,863
supabase-export-v2
6a2ec7a3ca0006a5
.. envvar:: PYTHON_THREAD_INHERIT_CONTEXT If this variable is set to ``1`` then :class:`~threading.Thread` will, by default, use a copy of context of the caller of ``Thread.start()`` when starting. Otherwise, new threads will start with an empty context. If unset, this variable defaults to ``1`` on free-threaded buil...
trusted_official_docs
CPython Docs
.. envvar:: PYTHON_THREAD_INHERIT_CONTEXT If this variable is set to ``1`` then :class:`~threading.Thread` will, by default, use a copy of context of the caller of ``Thread.start()`` when starting. Otherwise, new threads will start with an empty context. If unset, this variable defaults to ``1`` on free-threaded buil...
.. envvar:: PYTHON_THREAD_INHERIT_CONTEXT If this variable is set to ``1`` then :class:`~threading.Thread` will, by default, use a copy of context of the caller of ``Thread.start()`` when starting. Otherwise, new threads will start with an empty context. If unset, this variable defaults to ``1`` on free-threaded buil...
python, official-docs, cpython, P0
Local_Trusted_Corpus
43342d7f-7692-4f2a-8103-ccd18af12c4f
CPython Docs
file://datasets/cpython/Doc/using/cmdline.rst
unknown
9d6fd67d-1b1f-47f7-9470-06afdefc82b4
54,697
supabase-export-v2
d0eda4ec158990f2
The default search path is installation dependent, but generally begins with :file:`{prefix}/lib/python{version}` (see :envvar:`PYTHONHOME` above). It is *always* appended to :envvar:`PYTHONPATH`. An additional directory will be inserted in the search path in front of :envvar:`PYTHONPATH` as described above under :re...
trusted_official_docs
CPython Docs
The default search path is installation dependent, but generally begins with :file:`{prefix}/lib/python{version}` (see :envvar:`PYTHONHOME` above). It is *always* appended to :envvar:`PYTHONPATH`. An additional directory will be inserted in the search path in front of :envvar:`PYTHONPATH` as described above under :re...
The default search path is installation dependent, but generally begins with :file:`{prefix}/lib/python{version}` (see :envvar:`PYTHONHOME` above). It is *always* appended to :envvar:`PYTHONPATH`. An additional directory will be inserted in the search path in front of :envvar:`PYTHONPATH` as described above under :re...
python, official-docs, cpython, P0
Local_Trusted_Corpus
4599457f-39d7-46d7-b863-21802c99f912
CPython Docs
file://datasets/cpython/Doc/using/cmdline.rst
unknown
9d6fd67d-1b1f-47f7-9470-06afdefc82b4
54,661
supabase-export-v2
e44f48483e37d311
.. versionadded:: 3.13 * :samp:`-X gil={0,1}` forces the GIL to be disabled or enabled, respectively. Setting to ``0`` is only available in builds configured with :option:`--disable-gil`. See also :envvar:`PYTHON_GIL` and :ref:`whatsnew313-free-threaded-cpython`.
trusted_official_docs
CPython Docs
.. versionadded:: 3.13 * :samp:`-X gil={0,1}` forces the GIL to be disabled or enabled, respectively. Setting to ``0`` is only available in builds configured with :option:`--disable-gil`. See also :envvar:`PYTHON_GIL` and :ref:`whatsnew313-free-threaded-cpython`.
.. versionadded:: 3.13 * :samp:`-X gil={0,1}` forces the GIL to be disabled or enabled, respectively. Setting to ``0`` is only available in builds configured with :option:`--disable-gil`. See also :envvar:`PYTHON_GIL` and :ref:`whatsnew313-free-threaded-cpython`.
python, official-docs, cpython, P0
Local_Trusted_Corpus
462ce548-f103-4773-9d70-4d62ef6442e0
CPython Docs
file://datasets/cpython/Doc/using/cmdline.rst
unknown
9d6fd67d-1b1f-47f7-9470-06afdefc82b4
54,686
supabase-export-v2
1d48321b106230e6
If the |NO_COLOR|_ environment variable is set, Python will disable all color in the output. This takes precedence over ``FORCE_COLOR``. All these environment variables are used also by other tools to control color output. To control the color output only in the Python interpreter, the :envvar:`PYTHON_COLORS` environme...
trusted_official_docs
CPython Docs
If the |NO_COLOR|_ environment variable is set, Python will disable all color in the output. This takes precedence over ``FORCE_COLOR``. All these environment variables are used also by other tools to control color output. To control the color output only in the Python interpreter, the :envvar:`PYTHON_COLORS` environme...
If the |NO_COLOR|_ environment variable is set, Python will disable all color in the output. This takes precedence over ``FORCE_COLOR``. All these environment variables are used also by other tools to control color output. To control the color output only in the Python interpreter, the :envvar:`PYTHON_COLORS` environme...
python, official-docs, cpython, P0
Local_Trusted_Corpus
49b4e2a9-cf9e-4206-a4e5-c07a6fd46ba0
CPython Docs
file://datasets/cpython/Doc/using/cmdline.rst
unknown
9d6fd67d-1b1f-47f7-9470-06afdefc82b4
54,696
supabase-export-v2
307aca979ad1bcc1
directories, individual :envvar:`PYTHONPATH` entries may refer to zipfiles containing pure Python modules (in either source or compiled form). Extension modules cannot be imported from zipfiles. The default search path is installation dependent, but generally begins with :file:`{prefix}/lib/python{version}` (see :envv...
trusted_official_docs
CPython Docs
directories, individual :envvar:`PYTHONPATH` entries may refer to zipfiles containing pure Python modules (in either source or compiled form). Extension modules cannot be imported from zipfiles. The default search path is installation dependent, but generally begins with :file:`{prefix}/lib/python{version}` (see :envv...
directories, individual :envvar:`PYTHONPATH` entries may refer to zipfiles containing pure Python modules (in either source or compiled form). Extension modules cannot be imported from zipfiles. The default search path is installation dependent, but generally begins with :file:`{prefix}/lib/python{version}` (see :envv...
python, official-docs, cpython, P0
Local_Trusted_Corpus
4b62f2fb-8300-48fa-990f-a007ac9f8793
CPython Docs
file://datasets/cpython/Doc/using/cmdline.rst
unknown
9d6fd67d-1b1f-47f7-9470-06afdefc82b4
54,838
supabase-export-v2
2db5e0af6fc9535c
.. envvar:: PYTHON_DISABLE_REMOTE_DEBUG If this variable is set to a non-empty string, it disables the remote debugging feature described in :pep:`768`. This includes both the functionality to schedule code for execution in another process and the functionality to receive code for execution in the current process.
trusted_official_docs
CPython Docs
.. envvar:: PYTHON_DISABLE_REMOTE_DEBUG If this variable is set to a non-empty string, it disables the remote debugging feature described in :pep:`768`. This includes both the functionality to schedule code for execution in another process and the functionality to receive code for execution in the current process.
.. envvar:: PYTHON_DISABLE_REMOTE_DEBUG If this variable is set to a non-empty string, it disables the remote debugging feature described in :pep:`768`. This includes both the functionality to schedule code for execution in another process and the functionality to receive code for execution in the current process.
python, official-docs, cpython, P0
Local_Trusted_Corpus
4f7f602c-9381-45f1-bdc5-db4417786416
CPython Docs
file://datasets/cpython/Doc/using/cmdline.rst
unknown
9d6fd67d-1b1f-47f7-9470-06afdefc82b4
54,691
supabase-export-v2
3f542b066d2e5db2
.. envvar:: PYTHONHOME Change the location of the standard Python libraries. By default, the libraries are searched in :file:`{prefix}/lib/python{version}` and :file:`{exec_prefix}/lib/python{version}`, where :file:`{prefix}` and :file:`{exec_prefix}` are installation-dependent directories, both defaulting to :file...
trusted_official_docs
CPython Docs
.. envvar:: PYTHONHOME Change the location of the standard Python libraries. By default, the libraries are searched in :file:`{prefix}/lib/python{version}` and :file:`{exec_prefix}/lib/python{version}`, where :file:`{prefix}` and :file:`{exec_prefix}` are installation-dependent directories, both defaulting to :file...
.. envvar:: PYTHONHOME Change the location of the standard Python libraries. By default, the libraries are searched in :file:`{prefix}/lib/python{version}` and :file:`{exec_prefix}/lib/python{version}`, where :file:`{prefix}` and :file:`{exec_prefix}` are installation-dependent directories, both defaulting to :file...
python, official-docs, cpython, P0
Local_Trusted_Corpus
4f869bc2-8cd8-4f7e-8c1c-6c30e4eb2860
CPython Docs
file://datasets/cpython/Doc/using/cmdline.rst
unknown
9d6fd67d-1b1f-47f7-9470-06afdefc82b4
54,723
supabase-export-v2
aa8b813f39c6291e
.. envvar:: PYTHONVERBOSE If this is set to a non-empty string it is equivalent to specifying the :option:`-v` option. If set to an integer, it is equivalent to specifying :option:`-v` multiple times.
trusted_official_docs
CPython Docs
.. envvar:: PYTHONVERBOSE If this is set to a non-empty string it is equivalent to specifying the :option:`-v` option. If set to an integer, it is equivalent to specifying :option:`-v` multiple times.
.. envvar:: PYTHONVERBOSE If this is set to a non-empty string it is equivalent to specifying the :option:`-v` option. If set to an integer, it is equivalent to specifying :option:`-v` multiple times.
python, official-docs, cpython, P0
Local_Trusted_Corpus
52c5e8ad-1986-42ec-99ef-8fcb62592e9d
CPython Docs
file://datasets/cpython/Doc/using/cmdline.rst
unknown
9d6fd67d-1b1f-47f7-9470-06afdefc82b4
54,727
supabase-export-v2
4285e4a84ddb0ad0
.. envvar:: PYTHONDONTWRITEBYTECODE If this is set to a non-empty string, Python won't try to write ``.pyc`` files on the import of source modules. This is equivalent to specifying the :option:`-B` option.
trusted_official_docs
CPython Docs
.. envvar:: PYTHONDONTWRITEBYTECODE If this is set to a non-empty string, Python won't try to write ``.pyc`` files on the import of source modules. This is equivalent to specifying the :option:`-B` option.
.. envvar:: PYTHONDONTWRITEBYTECODE If this is set to a non-empty string, Python won't try to write ``.pyc`` files on the import of source modules. This is equivalent to specifying the :option:`-B` option.
python, official-docs, cpython, P0
Local_Trusted_Corpus