PYTHON3.14(1) General Commands Manual PYTHON3.14(1) (NAME) python3.14 - (SYNOPSIS) python3.14 [ -B ] [ -b ] [ -d ] [ -E ] [ -h ] [ -i ] [ -I ] [ -m module-name ] [ -q ] [ -R ] [ -O ] [ -OO ] [ -P ] [ -s ] [ -S ] [ -u ] [ -v ] [ -V ] [ -W argument ] [ -x ] [ -X option ] [ -? ] [ --check-hash-based-pycs default | always | never ] [ --help ] [ --help-env ] [ --help-xoptions ] [ --help-all ] [ -c command | script | - ] [ arguments ] (DESCRIPTION) . << >> (Python Tutorial) . << >> (Python Library Reference) . << >> (Python Reference Manual) ( ) . ( (INTERNET RESOURCES) .) C ++C . . . . pydoc . (COMMAND LINE OPTIONS) -B (import) .pyc . PYTHONDONTWRITEBYTECODE . -b str(bytes_instance) str(bytearray_instance) bytes/bytearray str (-bb: ). -c command ( ). ( ). --check-hash-based-pycs mode pyc. . -d (parser) ( ). -E PYTHONPATH PYTHONHOME . -h , -? , --help . --help-env . --help-xoptions -X . --help-all . -i -c . $PYTHONSTARTUP . (stack trace) . -I () . -E -P -s . sys.path site-packages . *PYTHON . . -m module-name sys.path .py . ( ). -O assert __debug__ opt-1. pyc. () . -OO -O docstring opt-2. pyc. () . -P sys.path . PYTHONSAFEPATH . -q . . -R . PYTHONHASHSEED 0 . -s site sys.path . -S site site sys.path . site . -u stdout stderr (unbuffered) . stdin . -v ( ) . . . -V , --version . . -W argument . sys.stderr . ( ): -Wdefault # -Werror # () -Walways # -Wall # -Walways -Wmodule # -Wonce # -Wignore # . -Wi -Wignore . : action:message:category:module:lineno . -W ignore::DeprecationWarning DeprecationWarning . action . message . category ( "DeprecationWarning"). . module ( ) . lineno . -W . -W ( ). PYTHONWARNINGS warnings . ()warnings.filterwarnings . -X option . : -X cpu_count=N os.cpu_count(). -X cpu_count=default . PYTHON_CPU_COUNT . -X dev << >> CPython . : . : o -W default. o : C ()PyMem_SetupDebugHooks . o faulthandler . o asyncio. o dev_mode sys.flags True. o ()close io.IOBase . -X importtime import. ( import ) ( import ) . . : python3 -X importtime -c 'import asyncio'. -X importtime=2 . cached . -X faulthandler faulthandler. -X frozen_modules=[on|off] . "on" ( "off"). -X gil=[0|1] (1) (0) (GIL). PYTHON_GIL . --disable-gil . -X int_max_str_digits=number int<->str. . sys.int_info.default_max_str_digits . 0 . -X no_debug_ranges ( ) . pyc . -X perf "perf" . PYTHONPERFSUPPORT=1 . -X perf_jit "perf" DWARF. PYTHON_PERF_JIT_SUPPORT=1 . -X presite=MOD site. PYTHON_PRESITE . . -X pycache_prefix=PATH pyc. . -X showrefcount . . -X tracemalloc tracemalloc. . -X tracemalloc=NFRAME NFRAME . -X utf8 UTF-8 . -X utf8=0 UTF-8 ( ). PYTHONUTF8 . -X warn_default_encoding EncodingWarning 'encoding=None'. -x . DOS . : ! (INTERPRETER INTERFACE) (UNIX shell) : tty EOF -c command () command . command (newline) . (whitespace) ! . sys.argv ( import sys ). sys.argv[0] -c sys.argv[0] '-c' . sys.argv . <<>>>>> ( ) <<...>> . sys.ps1 sys.ps2 . EOF . . KeyboardInterrupt ( SIGPIPE IOError ). stderr . (FILES AND DIRECTORIES) {prefix}$ {exec_prefix}$ . /usr/local . ${exec_prefix}/bin/python . ${prefix}/lib/python ${exec_prefix}/lib/python . ${prefix}/include/python ${exec_prefix}/include/python (include) . (ENVIRONMENT VARIABLES) PYTHONASYNCIODEBUG asyncio . PYTHON_BASIC_REPL REPL curses readline REPL . PYTHONBREAKPOINT 0 . . PYTHONCOERCECLOCALE 0 ASCII C POSIX UTF-8 . PYTHON_COLORS 1 . 0 . PYTHON_CPU_COUNT os.cpu_count os.process_cpu_count . -X cpu_count . PYTHONDEBUG -d . -d . PYTHONEXECUTABLE sys.argv[0] C . Mac OS X . PYTHONFAULTHANDLER faulthandler.enable() : SIGSEGV SIGFPE SIGABRT SIGBUS SIGILL . -X faulthandler . PYTHON_FROZEN_MODULES on off (import) . on off . ( ) on off . -X frozen_modules . PYTHON_GIL 1 (GIL) . 0 GIL . --disable-gil . -X gil . PYTHON_HISTORY ( ~/.python_history ). PYTHONNODEBUGRANGES ( ) . pyc . PYTHONDONTWRITEBYTECODE -B ( .pyc ). PYTHONDEVMODE << >> . -X dev . PYTHONHASHSEED "random" str bytes . PYTHONHASHSEED ()hash . . [0,4294967295] . 0 . PYTHONHOME . {prefix}/lib/python$ {exec_prefix}/lib/python$ {prefix}$ {exec_prefix}$ /usr/local . $PYTHONHOME {prefix}$ {exec_prefix}$ . $PYTHONHOME {prefix}:${exec_prefix}$ . PYTHONINSPECT -i . PYTHONINTMAXSTRDIGITS int int str . 0 . 2 4 8 16 32 . -X int_max_str_digits=NUMBER . PYTHONIOENCODING stdin/stdout/stderr : encodingname:errorhandler errorhandler str.encode . stderr errorhandler 'backslashreplace' . PYTHONMALLOC / . malloc pymalloc. debug malloc_debug pymalloc_debug. pymalloc_debug . pymalloc . PYTHONMALLOCSTATS (object arena) pymalloc pymalloc . $PYTHONMALLOC malloc(3) C pymalloc . PYTHONNOUSERSITE -s ( site sys.path ). PYTHONOPTIMIZE -O . -O . PYTHONPATH . PATH$ : (:) . . {prefix}/lib/python$ ( PYTHONHOME ). $PYTHONPATH . $PYTHONPATH . sys.path . PYTHON_PERF_JIT_SUPPORT perf DWARF . 0 . -X perf_jit . PYTHONPERFSUPPORT perf . 0 . -X perf . PYTHONPLATLIBDIR sys.platlibdir . PYTHONPROFILEIMPORTTIME 1 import . 2 . -X importtime . PYTHONPYCACHEPREFIX .pyc __pycache__ . -X pycache_prefix=PATH . PYTHONSAFEPATH sys.path . -P . PYTHONSTARTUP . . sys.ps1 sys.ps2 . PYTHONTRACEMALLOC tracemalloc . . PYTHONTRACEMALLOC=1 . PYTHONUNBUFFERED -u . PYTHONUSERBASE site-packages python -m pip install --user . PYTHONUTF8 1 << UTF-8>> . 0 . PYTHONVERBOSE -v . -v . PYTHONWARNDEFAULTENCODING EncodingWarning . PYTHONWARNINGS -W . (Debug-mode variables) (debug) --with-pydebug . PYTHONDUMPREFS (dump) . PYTHONDUMPREFSFILE . PYTHON_PRESITE site __main__ . . -X presite=module . (AUTHOR) : https://www.python.org/psf (INTERNET RESOURCES) : https://www.python.org : https://docs.python.org : https://devguide.python.org : https://www.python.org/downloads : https://pypi.org : comp.lang.python, comp.lang.python.announce (LICENSING) . (DISCLAIMER OF ALL WARRANTIES) "LICENSE" . PYTHON3.14(1)