René's URL Explorer Experiment


Title: 1. Command line and environment — Python 3.14.2 documentation

Open Graph Title: 1. Command line and environment

Description: The CPython interpreter scans the command line and the environment for various settings. CPython implementation detail: Other implementations’ command line schemes may differ. See Alternate Impleme...

Open Graph Description: The CPython interpreter scans the command line and the environment for various settings. CPython implementation detail: Other implementations’ command line schemes may differ. See Alternate Impleme...

Opengraph URL: https://docs.python.org/3/using/cmdline.html

direct link

Domain: docs.python.org

og:typewebsite
og:site_namePython documentation
og:image:width1146
og:image:height600
og:imagehttps://docs.python.org/3.14/_images/social_previews/summary_using_cmdline_b4ae2f13.png
og:image:altThe CPython interpreter scans the command line and the environment for various settings. CPython implementation detail: Other implementations’ command line schemes may differ. See Alternate Impleme...
twitter:cardsummary_large_image
theme-color#3776ab
readthedocs-addons-api-version1

Links:

https://www.python.org/
Table of Contentshttps://docs.python.org/3/contents.html
1. Command line and environmenthttps://docs.python.org/3/using/cmdline.html
1.1. Command linehttps://docs.python.org/3/using/cmdline.html#command-line
1.1.1. Interface optionshttps://docs.python.org/3/using/cmdline.html#interface-options
1.1.2. Generic optionshttps://docs.python.org/3/using/cmdline.html#generic-options
1.1.3. Miscellaneous optionshttps://docs.python.org/3/using/cmdline.html#miscellaneous-options
1.1.4. Controlling colorhttps://docs.python.org/3/using/cmdline.html#controlling-color
1.2. Environment variableshttps://docs.python.org/3/using/cmdline.html#environment-variables
1.2.1. Debug-mode variableshttps://docs.python.org/3/using/cmdline.html#debug-mode-variables
Python Setup and Usagehttps://docs.python.org/3/using/index.html
2. Using Python on Unix platformshttps://docs.python.org/3/using/unix.html
Report a bughttps://docs.python.org/3/bugs.html
Show source https://github.com/python/cpython/blob/main/Doc/using/cmdline.rst?plain=1
indexhttps://docs.python.org/3/genindex.html
moduleshttps://docs.python.org/3/py-modindex.html
nexthttps://docs.python.org/3/using/unix.html
previoushttps://docs.python.org/3/using/index.html
Pythonhttps://www.python.org/
3.14.2 Documentationhttps://docs.python.org/3/index.html
Python Setup and Usagehttps://docs.python.org/3/using/index.html
1. Command line and environmenthttps://docs.python.org/3/using/cmdline.html
https://docs.python.org/3/using/cmdline.html#command-line-and-environment
Alternate Implementationshttps://docs.python.org/3/reference/introduction.html#implementations
https://docs.python.org/3/using/cmdline.html#command-line
https://docs.python.org/3/using/cmdline.html#interface-options
Interactive Modehttps://docs.python.org/3/tutorial/appendix.html#tut-interac
sys.argvhttps://docs.python.org/3/library/sys.html#sys.argv
https://docs.python.org/3/using/cmdline.html#cmdoption-c
sys.argvhttps://docs.python.org/3/library/sys.html#sys.argv
sys.pathhttps://docs.python.org/3/library/sys.html#sys.path
auditing eventhttps://docs.python.org/3/library/sys.html#auditing
https://docs.python.org/3/using/cmdline.html#cmdoption-m
sys.pathhttps://docs.python.org/3/library/sys.html#sys.path
__main__https://docs.python.org/3/library/__main__.html#module-__main__
sys.argvhttps://docs.python.org/3/library/sys.html#sys.argv
-chttps://docs.python.org/3/using/cmdline.html#cmdoption-c
sys.pathhttps://docs.python.org/3/library/sys.html#sys.path
-Ihttps://docs.python.org/3/using/cmdline.html#cmdoption-I
sys.pathhttps://docs.python.org/3/library/sys.html#sys.path
timeithttps://docs.python.org/3/library/timeit.html#module-timeit
auditing eventhttps://docs.python.org/3/library/sys.html#auditing
runpy.run_module()https://docs.python.org/3/library/runpy.html#runpy.run_module
PEP 338https://peps.python.org/pep-0338/
sys.stdinhttps://docs.python.org/3/library/sys.html#sys.stdin
-ihttps://docs.python.org/3/using/cmdline.html#cmdoption-i
sys.argvhttps://docs.python.org/3/library/sys.html#sys.argv
sys.pathhttps://docs.python.org/3/library/sys.html#sys.path
auditing eventhttps://docs.python.org/3/library/sys.html#auditing
sys.argvhttps://docs.python.org/3/library/sys.html#sys.argv
sys.pathhttps://docs.python.org/3/library/sys.html#sys.path
__main__https://docs.python.org/3/library/__main__.html#module-__main__
sys.pathhttps://docs.python.org/3/library/sys.html#sys.path
__main__https://docs.python.org/3/library/__main__.html#module-__main__
-Ihttps://docs.python.org/3/using/cmdline.html#cmdoption-I
sys.pathhttps://docs.python.org/3/library/sys.html#sys.path
auditing eventhttps://docs.python.org/3/library/sys.html#auditing
runpy.run_path()https://docs.python.org/3/library/runpy.html#runpy.run_path
-ihttps://docs.python.org/3/using/cmdline.html#cmdoption-i
sys.pathhttps://docs.python.org/3/library/sys.html#sys.path
Readline configurationhttps://docs.python.org/3/library/site.html#rlcompleter-config
Invoking the Interpreterhttps://docs.python.org/3/tutorial/interpreter.html#tut-invoking
https://docs.python.org/3/using/cmdline.html#generic-options
https://docs.python.org/3/using/cmdline.html#cmdoption-0
https://docs.python.org/3/using/cmdline.html#cmdoption-h
https://docs.python.org/3/using/cmdline.html#cmdoption-help
https://docs.python.org/3/using/cmdline.html#cmdoption-help-env
https://docs.python.org/3/using/cmdline.html#cmdoption-help-xoptions
-Xhttps://docs.python.org/3/using/cmdline.html#cmdoption-X
https://docs.python.org/3/using/cmdline.html#cmdoption-help-all
https://docs.python.org/3/using/cmdline.html#cmdoption-V
https://docs.python.org/3/using/cmdline.html#cmdoption-version
https://docs.python.org/3/using/cmdline.html#miscellaneous-options
https://docs.python.org/3/using/cmdline.html#cmdoption-b
byteshttps://docs.python.org/3/library/stdtypes.html#bytes
bytearrayhttps://docs.python.org/3/library/stdtypes.html#bytearray
strhttps://docs.python.org/3/library/stdtypes.html#str
inthttps://docs.python.org/3/library/functions.html#int
byteshttps://docs.python.org/3/library/stdtypes.html#bytes
inthttps://docs.python.org/3/library/functions.html#int
https://docs.python.org/3/using/cmdline.html#cmdoption-B
PYTHONDONTWRITEBYTECODEhttps://docs.python.org/3/using/cmdline.html#envvar-PYTHONDONTWRITEBYTECODE
https://docs.python.org/3/using/cmdline.html#cmdoption-check-hash-based-pycs
Cached bytecode invalidationhttps://docs.python.org/3/reference/import.html#pyc-invalidation
https://docs.python.org/3/using/cmdline.html#cmdoption-d
PYTHONDEBUGhttps://docs.python.org/3/using/cmdline.html#envvar-PYTHONDEBUG
debug build of Pythonhttps://docs.python.org/3/using/configure.html#debug-build
https://docs.python.org/3/using/cmdline.html#cmdoption-E
PYTHONPATHhttps://docs.python.org/3/using/cmdline.html#envvar-PYTHONPATH
PYTHONHOMEhttps://docs.python.org/3/using/cmdline.html#envvar-PYTHONHOME
-Phttps://docs.python.org/3/using/cmdline.html#cmdoption-P
-Ihttps://docs.python.org/3/using/cmdline.html#cmdoption-I
https://docs.python.org/3/using/cmdline.html#cmdoption-i
-ihttps://docs.python.org/3/using/cmdline.html#cmdoption-i
-chttps://docs.python.org/3/using/cmdline.html#cmdoption-c
-mhttps://docs.python.org/3/using/cmdline.html#cmdoption-m
sys.stdinhttps://docs.python.org/3/library/sys.html#sys.stdin
PYTHONSTARTUPhttps://docs.python.org/3/using/cmdline.html#envvar-PYTHONSTARTUP
PYTHONINSPECThttps://docs.python.org/3/using/cmdline.html#envvar-PYTHONINSPECT
https://docs.python.org/3/using/cmdline.html#cmdoption-I
-Ehttps://docs.python.org/3/using/cmdline.html#cmdoption-E
-Phttps://docs.python.org/3/using/cmdline.html#cmdoption-P
-shttps://docs.python.org/3/using/cmdline.html#cmdoption-s
sys.pathhttps://docs.python.org/3/library/sys.html#sys.path
https://docs.python.org/3/using/cmdline.html#cmdoption-O
__debug__https://docs.python.org/3/library/constants.html#debug__
bytecodehttps://docs.python.org/3/glossary.html#term-bytecode
PEP 488https://peps.python.org/pep-0488/
PYTHONOPTIMIZEhttps://docs.python.org/3/using/cmdline.html#envvar-PYTHONOPTIMIZE
PEP 488https://peps.python.org/pep-0488/
https://docs.python.org/3/using/cmdline.html#cmdoption-OO
-Ohttps://docs.python.org/3/using/cmdline.html#cmdoption-O
bytecodehttps://docs.python.org/3/glossary.html#term-bytecode
PEP 488https://peps.python.org/pep-0488/
PEP 488https://peps.python.org/pep-0488/
https://docs.python.org/3/using/cmdline.html#cmdoption-P
sys.pathhttps://docs.python.org/3/library/sys.html#sys.path
PYTHONSAFEPATHhttps://docs.python.org/3/using/cmdline.html#envvar-PYTHONSAFEPATH
-Ehttps://docs.python.org/3/using/cmdline.html#cmdoption-E
-Ihttps://docs.python.org/3/using/cmdline.html#cmdoption-I
https://docs.python.org/3/using/cmdline.html#cmdoption-q
https://docs.python.org/3/using/cmdline.html#cmdoption-R
PYTHONHASHSEEDhttps://docs.python.org/3/using/cmdline.html#envvar-PYTHONHASHSEED
__hash__()https://docs.python.org/3/reference/datamodel.html#object.__hash__
http://ocert.org/advisories/ocert-2011-003.htmlhttp://ocert.org/advisories/ocert-2011-003.html
PYTHONHASHSEEDhttps://docs.python.org/3/using/cmdline.html#envvar-PYTHONHASHSEED
https://docs.python.org/3/using/cmdline.html#cmdoption-s
user site-packages directoryhttps://docs.python.org/3/library/site.html#site.USER_SITE
sys.pathhttps://docs.python.org/3/library/sys.html#sys.path
PYTHONNOUSERSITEhttps://docs.python.org/3/using/cmdline.html#envvar-PYTHONNOUSERSITE
PEP 370https://peps.python.org/pep-0370/
https://docs.python.org/3/using/cmdline.html#cmdoption-S
sitehttps://docs.python.org/3/library/site.html#module-site
sys.pathhttps://docs.python.org/3/library/sys.html#sys.path
sitehttps://docs.python.org/3/library/site.html#module-site
site.main()https://docs.python.org/3/library/site.html#site.main
https://docs.python.org/3/using/cmdline.html#cmdoption-u
PYTHONUNBUFFEREDhttps://docs.python.org/3/using/cmdline.html#envvar-PYTHONUNBUFFERED
https://docs.python.org/3/using/cmdline.html#cmdoption-v
sitehttps://docs.python.org/3/library/site.html#module-site
PYTHONVERBOSEhttps://docs.python.org/3/using/cmdline.html#envvar-PYTHONVERBOSE
https://docs.python.org/3/using/cmdline.html#cmdoption-W
sys.stderrhttps://docs.python.org/3/library/sys.html#sys.stderr
-Whttps://docs.python.org/3/using/cmdline.html#cmdoption-W
-Whttps://docs.python.org/3/using/cmdline.html#cmdoption-W
PYTHONWARNINGShttps://docs.python.org/3/using/cmdline.html#envvar-PYTHONWARNINGS
warningshttps://docs.python.org/3/library/warnings.html#module-warnings
warnings.filterwarnings()https://docs.python.org/3/library/warnings.html#warnings.filterwarnings
The Warnings Filterhttps://docs.python.org/3/library/warnings.html#warning-filter
Describing Warning Filtershttps://docs.python.org/3/library/warnings.html#describing-warning-filters
https://docs.python.org/3/using/cmdline.html#cmdoption-x
https://docs.python.org/3/using/cmdline.html#cmdoption-X
faulthandlerhttps://docs.python.org/3/library/faulthandler.html#module-faulthandler
PYTHONFAULTHANDLERhttps://docs.python.org/3/using/cmdline.html#envvar-PYTHONFAULTHANDLER
debug buildshttps://docs.python.org/3/using/configure.html#debug-build
tracemallochttps://docs.python.org/3/library/tracemalloc.html#module-tracemalloc
tracemalloc.start()https://docs.python.org/3/library/tracemalloc.html#tracemalloc.start
PYTHONTRACEMALLOChttps://docs.python.org/3/using/cmdline.html#envvar-PYTHONTRACEMALLOC
integer string conversion length limitationhttps://docs.python.org/3/library/stdtypes.html#int-max-str-digits
PYTHONINTMAXSTRDIGITShttps://docs.python.org/3/using/cmdline.html#envvar-PYTHONINTMAXSTRDIGITS
PYTHONPROFILEIMPORTTIMEhttps://docs.python.org/3/using/cmdline.html#envvar-PYTHONPROFILEIMPORTTIME
Python Development Modehttps://docs.python.org/3/library/devmode.html#devmode
PYTHONDEVMODEhttps://docs.python.org/3/using/cmdline.html#envvar-PYTHONDEVMODE
Python UTF-8 Modehttps://docs.python.org/3/library/os.html#utf8-mode
Python UTF-8 Modehttps://docs.python.org/3/library/os.html#utf8-mode
PYTHONUTF8https://docs.python.org/3/using/cmdline.html#envvar-PYTHONUTF8
PYTHONPYCACHEPREFIXhttps://docs.python.org/3/using/cmdline.html#envvar-PYTHONPYCACHEPREFIX
EncodingWarninghttps://docs.python.org/3/library/exceptions.html#EncodingWarning
PYTHONWARNDEFAULTENCODINGhttps://docs.python.org/3/using/cmdline.html#envvar-PYTHONWARNDEFAULTENCODING
PYTHONNODEBUGRANGEShttps://docs.python.org/3/using/cmdline.html#envvar-PYTHONNODEBUGRANGES
PYTHON_FROZEN_MODULEShttps://docs.python.org/3/using/cmdline.html#envvar-PYTHON_FROZEN_MODULES
PYTHONPERFSUPPORThttps://docs.python.org/3/using/cmdline.html#envvar-PYTHONPERFSUPPORT
Python support for the Linux perf profilerhttps://docs.python.org/3/howto/perf_profiling.html#perf-profiling
PYTHON_PERF_JIT_SUPPORThttps://docs.python.org/3/using/cmdline.html#envvar-PYTHON_PERF_JIT_SUPPORT
Python support for the Linux perf profilerhttps://docs.python.org/3/howto/perf_profiling.html#perf-profiling
PEP 768https://peps.python.org/pep-0768/
PYTHON_DISABLE_REMOTE_DEBUGhttps://docs.python.org/3/using/cmdline.html#envvar-PYTHON_DISABLE_REMOTE_DEBUG
PEP 768https://peps.python.org/pep-0768/
os.cpu_count()https://docs.python.org/3/library/os.html#os.cpu_count
os.process_cpu_count()https://docs.python.org/3/library/os.html#os.process_cpu_count
multiprocessing.cpu_count()https://docs.python.org/3/library/multiprocessing.html#multiprocessing.cpu_count
PYTHON_CPU_COUNThttps://docs.python.org/3/using/cmdline.html#envvar-PYTHON_CPU_COUNT
sitehttps://docs.python.org/3/library/site.html#module-site
__main__https://docs.python.org/3/library/__main__.html#module-__main__
__main__https://docs.python.org/3/library/__main__.html#module-__main__
built in debug modehttps://docs.python.org/3/using/configure.html#debug-build
PYTHON_PRESITEhttps://docs.python.org/3/using/cmdline.html#envvar-PYTHON_PRESITE
--disable-gilhttps://docs.python.org/3/using/configure.html#cmdoption-disable-gil
PYTHON_GILhttps://docs.python.org/3/using/cmdline.html#envvar-PYTHON_GIL
Free-threaded CPythonhttps://docs.python.org/3/whatsnew/3.13.html#whatsnew313-free-threaded-cpython
Threadhttps://docs.python.org/3/library/threading.html#threading.Thread
PYTHON_THREAD_INHERIT_CONTEXThttps://docs.python.org/3/using/cmdline.html#envvar-PYTHON_THREAD_INHERIT_CONTEXT
warnings.catch_warningshttps://docs.python.org/3/library/warnings.html#warnings.catch_warnings
ContextVarhttps://docs.python.org/3/library/contextvars.html#contextvars.ContextVar
PYTHON_CONTEXT_AWARE_WARNINGShttps://docs.python.org/3/using/cmdline.html#envvar-PYTHON_CONTEXT_AWARE_WARNINGS
--disable-gilhttps://docs.python.org/3/using/configure.html#cmdoption-disable-gil
PYTHON_TLBChttps://docs.python.org/3/using/cmdline.html#envvar-PYTHON_TLBC
sys._xoptionshttps://docs.python.org/3/library/sys.html#sys._xoptions
Jythonhttps://www.jython.org/
https://docs.python.org/3/using/cmdline.html#controlling-color
FORCE_COLORhttps://force-color.org/
NO_COLORhttps://no-color.org/
PYTHON_COLORShttps://docs.python.org/3/using/cmdline.html#envvar-PYTHON_COLORS
https://docs.python.org/3/using/cmdline.html#environment-variables
https://docs.python.org/3/using/cmdline.html#envvar-PYTHONHOME
PYTHONHOMEhttps://docs.python.org/3/using/cmdline.html#envvar-PYTHONHOME
PYTHONHOMEhttps://docs.python.org/3/using/cmdline.html#envvar-PYTHONHOME
https://docs.python.org/3/using/cmdline.html#envvar-PYTHONPATH
os.pathsephttps://docs.python.org/3/library/os.html#os.pathsep
PYTHONPATHhttps://docs.python.org/3/using/cmdline.html#envvar-PYTHONPATH
PYTHONHOMEhttps://docs.python.org/3/using/cmdline.html#envvar-PYTHONHOME
PYTHONPATHhttps://docs.python.org/3/using/cmdline.html#envvar-PYTHONPATH
PYTHONPATHhttps://docs.python.org/3/using/cmdline.html#envvar-PYTHONPATH
Interface optionshttps://docs.python.org/3/using/cmdline.html#using-on-interface-options
sys.pathhttps://docs.python.org/3/library/sys.html#sys.path
https://docs.python.org/3/using/cmdline.html#envvar-PYTHONSAFEPATH
sys.pathhttps://docs.python.org/3/library/sys.html#sys.path
-Phttps://docs.python.org/3/using/cmdline.html#cmdoption-P
https://docs.python.org/3/using/cmdline.html#envvar-PYTHONPLATLIBDIR
sys.platlibdirhttps://docs.python.org/3/library/sys.html#sys.platlibdir
https://docs.python.org/3/using/cmdline.html#envvar-PYTHONSTARTUP
sys.ps1https://docs.python.org/3/library/sys.html#sys.ps1
sys.ps2https://docs.python.org/3/library/sys.html#sys.ps2
sys.__interactivehook__https://docs.python.org/3/library/sys.html#sys.__interactivehook__
auditing eventhttps://docs.python.org/3/library/sys.html#auditing
https://docs.python.org/3/using/cmdline.html#envvar-PYTHONOPTIMIZE
-Ohttps://docs.python.org/3/using/cmdline.html#cmdoption-O
-Ohttps://docs.python.org/3/using/cmdline.html#cmdoption-O
https://docs.python.org/3/using/cmdline.html#envvar-PYTHONBREAKPOINT
sys.breakpointhook()https://docs.python.org/3/library/sys.html#sys.breakpointhook
breakpoint()https://docs.python.org/3/library/functions.html#breakpoint
sys.breakpointhook()https://docs.python.org/3/library/sys.html#sys.breakpointhook
https://docs.python.org/3/using/cmdline.html#envvar-PYTHONDEBUG
-dhttps://docs.python.org/3/using/cmdline.html#cmdoption-d
-dhttps://docs.python.org/3/using/cmdline.html#cmdoption-d
debug build of Pythonhttps://docs.python.org/3/using/configure.html#debug-build
https://docs.python.org/3/using/cmdline.html#envvar-PYTHONINSPECT
-ihttps://docs.python.org/3/using/cmdline.html#cmdoption-i
os.environhttps://docs.python.org/3/library/os.html#os.environ
auditing eventhttps://docs.python.org/3/library/sys.html#auditing
PYTHONSTARTUPhttps://docs.python.org/3/using/cmdline.html#envvar-PYTHONSTARTUP
https://docs.python.org/3/using/cmdline.html#envvar-PYTHONUNBUFFERED
-uhttps://docs.python.org/3/using/cmdline.html#cmdoption-u
https://docs.python.org/3/using/cmdline.html#envvar-PYTHONVERBOSE
-vhttps://docs.python.org/3/using/cmdline.html#cmdoption-v
-vhttps://docs.python.org/3/using/cmdline.html#cmdoption-v
https://docs.python.org/3/using/cmdline.html#envvar-PYTHONCASEOK
importhttps://docs.python.org/3/reference/simple_stmts.html#import
https://docs.python.org/3/using/cmdline.html#envvar-PYTHONDONTWRITEBYTECODE
-Bhttps://docs.python.org/3/using/cmdline.html#cmdoption-B
https://docs.python.org/3/using/cmdline.html#envvar-PYTHONPYCACHEPREFIX
-Xhttps://docs.python.org/3/using/cmdline.html#cmdoption-X
https://docs.python.org/3/using/cmdline.html#envvar-PYTHONHASHSEED
PYTHONHASHSEEDhttps://docs.python.org/3/using/cmdline.html#envvar-PYTHONHASHSEED
https://docs.python.org/3/using/cmdline.html#envvar-PYTHONINTMAXSTRDIGITS
integer string conversion length limitationhttps://docs.python.org/3/library/stdtypes.html#int-max-str-digits
https://docs.python.org/3/using/cmdline.html#envvar-PYTHONIOENCODING
str.encode()https://docs.python.org/3/library/stdtypes.html#str.encode
PYTHONLEGACYWINDOWSSTDIOhttps://docs.python.org/3/using/cmdline.html#envvar-PYTHONLEGACYWINDOWSSTDIO
https://docs.python.org/3/using/cmdline.html#envvar-PYTHONNOUSERSITE
user site-packages directoryhttps://docs.python.org/3/library/site.html#site.USER_SITE
sys.pathhttps://docs.python.org/3/library/sys.html#sys.path
PEP 370https://peps.python.org/pep-0370/
https://docs.python.org/3/using/cmdline.html#envvar-PYTHONUSERBASE
user base directoryhttps://docs.python.org/3/library/site.html#site.USER_BASE
user site-packages directoryhttps://docs.python.org/3/library/site.html#site.USER_SITE
installation pathshttps://docs.python.org/3/library/sysconfig.html#sysconfig-user-scheme
PEP 370https://peps.python.org/pep-0370/
https://docs.python.org/3/using/cmdline.html#envvar-PYTHONEXECUTABLE
https://docs.python.org/3/using/cmdline.html#envvar-PYTHONWARNINGS
-Whttps://docs.python.org/3/using/cmdline.html#cmdoption-W
-Whttps://docs.python.org/3/using/cmdline.html#cmdoption-W
The Warnings Filterhttps://docs.python.org/3/library/warnings.html#warning-filter
Describing Warning Filtershttps://docs.python.org/3/library/warnings.html#describing-warning-filters
https://docs.python.org/3/using/cmdline.html#envvar-PYTHONFAULTHANDLER
faulthandler.enable()https://docs.python.org/3/library/faulthandler.html#faulthandler.enable
SIGSEGVhttps://docs.python.org/3/library/signal.html#signal.SIGSEGV
SIGFPEhttps://docs.python.org/3/library/signal.html#signal.SIGFPE
SIGABRThttps://docs.python.org/3/library/signal.html#signal.SIGABRT
SIGBUShttps://docs.python.org/3/library/signal.html#signal.SIGBUS
SIGILLhttps://docs.python.org/3/library/signal.html#signal.SIGILL
-Xhttps://docs.python.org/3/using/cmdline.html#cmdoption-X
https://docs.python.org/3/using/cmdline.html#envvar-PYTHONTRACEMALLOC
tracemallochttps://docs.python.org/3/library/tracemalloc.html#module-tracemalloc
tracemalloc.start()https://docs.python.org/3/library/tracemalloc.html#tracemalloc.start
-Xhttps://docs.python.org/3/using/cmdline.html#cmdoption-X
https://docs.python.org/3/using/cmdline.html#envvar-PYTHONPROFILEIMPORTTIME
-Xhttps://docs.python.org/3/using/cmdline.html#cmdoption-X
https://docs.python.org/3/using/cmdline.html#envvar-PYTHONASYNCIODEBUG
debug modehttps://docs.python.org/3/library/asyncio-dev.html#asyncio-debug-mode
asynciohttps://docs.python.org/3/library/asyncio.html#module-asyncio
https://docs.python.org/3/using/cmdline.html#envvar-PYTHONMALLOC
default memory allocatorshttps://docs.python.org/3/c-api/memory.html#default-memory-allocators
PYMEM_DOMAIN_RAWhttps://docs.python.org/3/c-api/memory.html#c.PYMEM_DOMAIN_RAW
PYMEM_DOMAIN_MEMhttps://docs.python.org/3/c-api/memory.html#c.PYMEM_DOMAIN_MEM
PYMEM_DOMAIN_OBJhttps://docs.python.org/3/c-api/memory.html#c.PYMEM_DOMAIN_OBJ
pymalloc allocatorhttps://docs.python.org/3/c-api/memory.html#pymalloc
PYMEM_DOMAIN_MEMhttps://docs.python.org/3/c-api/memory.html#c.PYMEM_DOMAIN_MEM
PYMEM_DOMAIN_OBJhttps://docs.python.org/3/c-api/memory.html#c.PYMEM_DOMAIN_OBJ
PYMEM_DOMAIN_RAWhttps://docs.python.org/3/c-api/memory.html#c.PYMEM_DOMAIN_RAW
mimalloc allocatorhttps://docs.python.org/3/c-api/memory.html#mimalloc
PYMEM_DOMAIN_MEMhttps://docs.python.org/3/c-api/memory.html#c.PYMEM_DOMAIN_MEM
PYMEM_DOMAIN_OBJhttps://docs.python.org/3/c-api/memory.html#c.PYMEM_DOMAIN_OBJ
PYMEM_DOMAIN_RAWhttps://docs.python.org/3/c-api/memory.html#c.PYMEM_DOMAIN_RAW
debug hookshttps://docs.python.org/3/c-api/memory.html#pymem-debug-hooks
default memory allocatorshttps://docs.python.org/3/c-api/memory.html#default-memory-allocators
https://docs.python.org/3/using/cmdline.html#envvar-PYTHONMALLOCSTATS
pymalloc memory allocatorhttps://docs.python.org/3/c-api/memory.html#pymalloc
PYTHONMALLOChttps://docs.python.org/3/using/cmdline.html#envvar-PYTHONMALLOC
https://docs.python.org/3/using/cmdline.html#envvar-PYTHONLEGACYWINDOWSFSENCODING
filesystem encoding and error handlerhttps://docs.python.org/3/glossary.html#term-filesystem-encoding-and-error-handler
sys._enablelegacywindowsfsencoding()https://docs.python.org/3/library/sys.html#sys._enablelegacywindowsfsencoding
Availabilityhttps://docs.python.org/3/library/intro.html#availability
PEP 529https://peps.python.org/pep-0529/
https://docs.python.org/3/using/cmdline.html#envvar-PYTHONLEGACYWINDOWSSTDIO
Availabilityhttps://docs.python.org/3/library/intro.html#availability
https://docs.python.org/3/using/cmdline.html#envvar-PYTHONCOERCECLOCALE
locale.getdefaultlocale()https://docs.python.org/3/library/locale.html#locale.getdefaultlocale
error handlerhttps://docs.python.org/3/library/codecs.html#error-handlers
sys.stdinhttps://docs.python.org/3/library/sys.html#sys.stdin
sys.stdouthttps://docs.python.org/3/library/sys.html#sys.stdout
sys.stderrhttps://docs.python.org/3/library/sys.html#sys.stderr
PYTHONIOENCODINGhttps://docs.python.org/3/using/cmdline.html#envvar-PYTHONIOENCODING
PYTHONUTF8https://docs.python.org/3/using/cmdline.html#envvar-PYTHONUTF8
Availabilityhttps://docs.python.org/3/library/intro.html#availability
PEP 538https://peps.python.org/pep-0538/
https://docs.python.org/3/using/cmdline.html#envvar-PYTHONDEVMODE
Python Development Modehttps://docs.python.org/3/library/devmode.html#devmode
-Xhttps://docs.python.org/3/using/cmdline.html#cmdoption-X
https://docs.python.org/3/using/cmdline.html#envvar-PYTHONUTF8
Python UTF-8 Modehttps://docs.python.org/3/library/os.html#utf8-mode
Python UTF-8 Modehttps://docs.python.org/3/library/os.html#utf8-mode
https://docs.python.org/3/using/cmdline.html#envvar-PYTHONWARNDEFAULTENCODING
EncodingWarninghttps://docs.python.org/3/library/exceptions.html#EncodingWarning
Opt-in EncodingWarninghttps://docs.python.org/3/library/io.html#io-encoding-warning
https://docs.python.org/3/using/cmdline.html#envvar-PYTHONNODEBUGRANGES
https://docs.python.org/3/using/cmdline.html#envvar-PYTHONPERFSUPPORT
-X perfhttps://docs.python.org/3/using/cmdline.html#cmdoption-X
Python support for the Linux perf profilerhttps://docs.python.org/3/howto/perf_profiling.html#perf-profiling
https://docs.python.org/3/using/cmdline.html#envvar-PYTHON_PERF_JIT_SUPPORT
-X perf_jithttps://docs.python.org/3/using/cmdline.html#cmdoption-X
Python support for the Linux perf profilerhttps://docs.python.org/3/howto/perf_profiling.html#perf-profiling
https://docs.python.org/3/using/cmdline.html#envvar-PYTHON_DISABLE_REMOTE_DEBUG
PEP 768https://peps.python.org/pep-0768/
-X disable_remote_debughttps://docs.python.org/3/using/cmdline.html#cmdoption-X
https://docs.python.org/3/using/cmdline.html#envvar-PYTHON_CPU_COUNT
os.cpu_count()https://docs.python.org/3/library/os.html#os.cpu_count
os.process_cpu_count()https://docs.python.org/3/library/os.html#os.process_cpu_count
-X cpu_counthttps://docs.python.org/3/using/cmdline.html#cmdoption-X
https://docs.python.org/3/using/cmdline.html#envvar-PYTHON_FROZEN_MODULES
-X frozen_moduleshttps://docs.python.org/3/using/cmdline.html#cmdoption-X
https://docs.python.org/3/using/cmdline.html#envvar-PYTHON_COLORS
Controlling colorhttps://docs.python.org/3/using/cmdline.html#using-on-controlling-color
https://docs.python.org/3/using/cmdline.html#envvar-PYTHON_BASIC_REPL
REPLhttps://docs.python.org/3/glossary.html#term-REPL
readlinehttps://docs.python.org/3/library/readline.html#module-readline
REPLhttps://docs.python.org/3/glossary.html#term-REPL
https://docs.python.org/3/using/cmdline.html#envvar-PYTHON_HISTORY
https://docs.python.org/3/using/cmdline.html#envvar-PYTHON_GIL
--disable-gilhttps://docs.python.org/3/using/configure.html#cmdoption-disable-gil
-X gilhttps://docs.python.org/3/using/cmdline.html#cmdoption-X
Free-threaded CPythonhttps://docs.python.org/3/whatsnew/3.13.html#whatsnew313-free-threaded-cpython
https://docs.python.org/3/using/cmdline.html#envvar-PYTHON_THREAD_INHERIT_CONTEXT
Threadhttps://docs.python.org/3/library/threading.html#threading.Thread
-X thread_inherit_contexthttps://docs.python.org/3/using/cmdline.html#cmdoption-X
https://docs.python.org/3/using/cmdline.html#envvar-PYTHON_CONTEXT_AWARE_WARNINGS
warnings.catch_warningshttps://docs.python.org/3/library/warnings.html#warnings.catch_warnings
ContextVarhttps://docs.python.org/3/library/contextvars.html#contextvars.ContextVar
-X context_aware_warningshttps://docs.python.org/3/using/cmdline.html#cmdoption-X
https://docs.python.org/3/using/cmdline.html#envvar-PYTHON_JIT
https://docs.python.org/3/using/cmdline.html#envvar-PYTHON_TLBC
--disable-gilhttps://docs.python.org/3/using/configure.html#cmdoption-disable-gil
-X tlbchttps://docs.python.org/3/using/cmdline.html#cmdoption-X
https://docs.python.org/3/using/cmdline.html#debug-mode-variables
https://docs.python.org/3/using/cmdline.html#envvar-PYTHONDUMPREFS
--with-trace-refshttps://docs.python.org/3/using/configure.html#cmdoption-with-trace-refs
https://docs.python.org/3/using/cmdline.html#envvar-PYTHONDUMPREFSFILE
--with-trace-refshttps://docs.python.org/3/using/configure.html#cmdoption-with-trace-refs
https://docs.python.org/3/using/cmdline.html#envvar-PYTHON_PRESITE
sitehttps://docs.python.org/3/library/site.html#module-site
__main__https://docs.python.org/3/library/__main__.html#module-__main__
__main__https://docs.python.org/3/library/__main__.html#module-__main__
-X presitehttps://docs.python.org/3/using/cmdline.html#cmdoption-X
--with-pydebughttps://docs.python.org/3/using/configure.html#cmdoption-with-pydebug
Table of Contentshttps://docs.python.org/3/contents.html
1. Command line and environmenthttps://docs.python.org/3/using/cmdline.html
1.1. Command linehttps://docs.python.org/3/using/cmdline.html#command-line
1.1.1. Interface optionshttps://docs.python.org/3/using/cmdline.html#interface-options
1.1.2. Generic optionshttps://docs.python.org/3/using/cmdline.html#generic-options
1.1.3. Miscellaneous optionshttps://docs.python.org/3/using/cmdline.html#miscellaneous-options
1.1.4. Controlling colorhttps://docs.python.org/3/using/cmdline.html#controlling-color
1.2. Environment variableshttps://docs.python.org/3/using/cmdline.html#environment-variables
1.2.1. Debug-mode variableshttps://docs.python.org/3/using/cmdline.html#debug-mode-variables
Python Setup and Usagehttps://docs.python.org/3/using/index.html
2. Using Python on Unix platformshttps://docs.python.org/3/using/unix.html
Report a bughttps://docs.python.org/3/bugs.html
Show source https://github.com/python/cpython/blob/main/Doc/using/cmdline.rst?plain=1
indexhttps://docs.python.org/3/genindex.html
moduleshttps://docs.python.org/3/py-modindex.html
nexthttps://docs.python.org/3/using/unix.html
previoushttps://docs.python.org/3/using/index.html
Pythonhttps://www.python.org/
3.14.2 Documentationhttps://docs.python.org/3/index.html
Python Setup and Usagehttps://docs.python.org/3/using/index.html
1. Command line and environmenthttps://docs.python.org/3/using/cmdline.html
Copyrighthttps://docs.python.org/3/copyright.html
History and Licensehttps://docs.python.org/license.html
Please donate.https://www.python.org/psf/donations/
Found a bughttps://docs.python.org/bugs.html
Sphinxhttps://www.sphinx-doc.org/

Viewport: width=device-width, initial-scale=1.0


URLs of crawlers that visited me.