René's URL Explorer Experiment


Title: 1. 命令列與環境 — Python 3.14.0 說明文件

direct link

Domain: python.github.io

readthedocs-addons-api-version1

Links:

https://www.python.org/
目錄https://python.github.io/python-docs-zh-tw/contents.html
1. 命令列與環境https://python.github.io/python-docs-zh-tw/using/cmdline.html
1.1. 命令列https://python.github.io/python-docs-zh-tw/using/cmdline.html#command-line
1.1.1. 介面選項https://python.github.io/python-docs-zh-tw/using/cmdline.html#interface-options
1.1.2. Generic optionshttps://python.github.io/python-docs-zh-tw/using/cmdline.html#generic-options
1.1.3. Miscellaneous optionshttps://python.github.io/python-docs-zh-tw/using/cmdline.html#miscellaneous-options
1.1.4. Controlling colorhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#controlling-color
1.2. 環境變數https://python.github.io/python-docs-zh-tw/using/cmdline.html#environment-variables
1.2.1. 除錯模式變數https://python.github.io/python-docs-zh-tw/using/cmdline.html#debug-mode-variables
Python 的設置與使用https://python.github.io/python-docs-zh-tw/using/index.html
2. 在 Unix 平臺上使用 Pythonhttps://python.github.io/python-docs-zh-tw/using/unix.html
回報錯誤https://python.github.io/python-docs-zh-tw/bugs.html
顯示原始碼 https://github.com/python/cpython/blob/main/Doc/using/cmdline.rst?plain=1
索引https://python.github.io/python-docs-zh-tw/genindex.html
模組https://python.github.io/python-docs-zh-tw/py-modindex.html
下一頁https://python.github.io/python-docs-zh-tw/using/unix.html
上一頁https://python.github.io/python-docs-zh-tw/using/index.html
Pythonhttps://www.python.org/
3.14.0 Documentationhttps://python.github.io/python-docs-zh-tw/index.html
Python 的設置與使用https://python.github.io/python-docs-zh-tw/using/index.html
1. 命令列與環境https://python.github.io/python-docs-zh-tw/using/cmdline.html
https://python.github.io/python-docs-zh-tw/using/cmdline.html#command-line-and-environment
Alternate Implementationshttps://python.github.io/python-docs-zh-tw/reference/introduction.html#implementations
https://python.github.io/python-docs-zh-tw/using/cmdline.html#command-line
https://python.github.io/python-docs-zh-tw/using/cmdline.html#interface-options
互動模式https://python.github.io/python-docs-zh-tw/tutorial/appendix.html#tut-interac
sys.argvhttps://python.github.io/python-docs-zh-tw/library/sys.html#sys.argv
https://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-c
sys.argvhttps://python.github.io/python-docs-zh-tw/library/sys.html#sys.argv
sys.pathhttps://python.github.io/python-docs-zh-tw/library/sys.html#sys.path
稽核事件https://python.github.io/python-docs-zh-tw/library/sys.html#auditing
https://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-m
sys.pathhttps://python.github.io/python-docs-zh-tw/library/sys.html#sys.path
__main__https://python.github.io/python-docs-zh-tw/library/__main__.html#module-__main__
sys.argvhttps://python.github.io/python-docs-zh-tw/library/sys.html#sys.argv
-chttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-c
sys.pathhttps://python.github.io/python-docs-zh-tw/library/sys.html#sys.path
-Ihttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-I
sys.pathhttps://python.github.io/python-docs-zh-tw/library/sys.html#sys.path
timeithttps://python.github.io/python-docs-zh-tw/library/timeit.html#module-timeit
稽核事件https://python.github.io/python-docs-zh-tw/library/sys.html#auditing
runpy.run_module()https://python.github.io/python-docs-zh-tw/library/runpy.html#runpy.run_module
PEP 338https://peps.python.org/pep-0338/
sys.stdinhttps://python.github.io/python-docs-zh-tw/library/sys.html#sys.stdin
-ihttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-i
sys.argvhttps://python.github.io/python-docs-zh-tw/library/sys.html#sys.argv
sys.pathhttps://python.github.io/python-docs-zh-tw/library/sys.html#sys.path
稽核事件https://python.github.io/python-docs-zh-tw/library/sys.html#auditing
sys.argvhttps://python.github.io/python-docs-zh-tw/library/sys.html#sys.argv
sys.pathhttps://python.github.io/python-docs-zh-tw/library/sys.html#sys.path
__main__https://python.github.io/python-docs-zh-tw/library/__main__.html#module-__main__
sys.pathhttps://python.github.io/python-docs-zh-tw/library/sys.html#sys.path
__main__https://python.github.io/python-docs-zh-tw/library/__main__.html#module-__main__
-Ihttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-I
sys.pathhttps://python.github.io/python-docs-zh-tw/library/sys.html#sys.path
稽核事件https://python.github.io/python-docs-zh-tw/library/sys.html#auditing
runpy.run_path()https://python.github.io/python-docs-zh-tw/library/runpy.html#runpy.run_path
-ihttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-i
sys.pathhttps://python.github.io/python-docs-zh-tw/library/sys.html#sys.path
Readline configurationhttps://python.github.io/python-docs-zh-tw/library/site.html#rlcompleter-config
啟動直譯器https://python.github.io/python-docs-zh-tw/tutorial/interpreter.html#tut-invoking
https://python.github.io/python-docs-zh-tw/using/cmdline.html#generic-options
https://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-0
https://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-h
https://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-help
https://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-help-env
https://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-help-xoptions
-Xhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-X
https://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-help-all
https://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-V
https://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-version
https://python.github.io/python-docs-zh-tw/using/cmdline.html#miscellaneous-options
https://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-b
byteshttps://python.github.io/python-docs-zh-tw/library/stdtypes.html#bytes
bytearrayhttps://python.github.io/python-docs-zh-tw/library/stdtypes.html#bytearray
strhttps://python.github.io/python-docs-zh-tw/library/stdtypes.html#str
inthttps://python.github.io/python-docs-zh-tw/library/functions.html#int
byteshttps://python.github.io/python-docs-zh-tw/library/stdtypes.html#bytes
inthttps://python.github.io/python-docs-zh-tw/library/functions.html#int
https://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-B
PYTHONDONTWRITEBYTECODEhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONDONTWRITEBYTECODE
https://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-check-hash-based-pycs
Cached bytecode invalidationhttps://python.github.io/python-docs-zh-tw/reference/import.html#pyc-invalidation
https://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-d
PYTHONDEBUGhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONDEBUG
debug build of Pythonhttps://python.github.io/python-docs-zh-tw/using/configure.html#debug-build
https://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-E
PYTHONPATHhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONPATH
PYTHONHOMEhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONHOME
-Phttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-P
-Ihttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-I
https://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-i
-ihttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-i
-chttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-c
-mhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-m
sys.stdinhttps://python.github.io/python-docs-zh-tw/library/sys.html#sys.stdin
PYTHONSTARTUPhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONSTARTUP
PYTHONINSPECThttps://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONINSPECT
https://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-I
-Ehttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-E
-Phttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-P
-shttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-s
sys.pathhttps://python.github.io/python-docs-zh-tw/library/sys.html#sys.path
https://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-O
__debug__https://python.github.io/python-docs-zh-tw/library/constants.html#debug__
bytecodehttps://python.github.io/python-docs-zh-tw/glossary.html#term-bytecode
PEP 488https://peps.python.org/pep-0488/
PYTHONOPTIMIZEhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONOPTIMIZE
PEP 488https://peps.python.org/pep-0488/
https://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-OO
-Ohttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-O
bytecodehttps://python.github.io/python-docs-zh-tw/glossary.html#term-bytecode
PEP 488https://peps.python.org/pep-0488/
PEP 488https://peps.python.org/pep-0488/
https://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-P
sys.pathhttps://python.github.io/python-docs-zh-tw/library/sys.html#sys.path
PYTHONSAFEPATHhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONSAFEPATH
-Ehttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-E
-Ihttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-I
https://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-q
https://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-R
PYTHONHASHSEEDhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONHASHSEED
__hash__()https://python.github.io/python-docs-zh-tw/reference/datamodel.html#object.__hash__
http://ocert.org/advisories/ocert-2011-003.htmlhttp://ocert.org/advisories/ocert-2011-003.html
PYTHONHASHSEEDhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONHASHSEED
https://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-s
user site-packages directoryhttps://python.github.io/python-docs-zh-tw/library/site.html#site.USER_SITE
sys.pathhttps://python.github.io/python-docs-zh-tw/library/sys.html#sys.path
PYTHONNOUSERSITEhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONNOUSERSITE
PEP 370https://peps.python.org/pep-0370/
https://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-S
sitehttps://python.github.io/python-docs-zh-tw/library/site.html#module-site
sys.pathhttps://python.github.io/python-docs-zh-tw/library/sys.html#sys.path
sitehttps://python.github.io/python-docs-zh-tw/library/site.html#module-site
site.main()https://python.github.io/python-docs-zh-tw/library/site.html#site.main
https://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-u
PYTHONUNBUFFEREDhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONUNBUFFERED
https://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-v
sitehttps://python.github.io/python-docs-zh-tw/library/site.html#module-site
PYTHONVERBOSEhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONVERBOSE
https://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-W
sys.stderrhttps://python.github.io/python-docs-zh-tw/library/sys.html#sys.stderr
-Whttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-W
-Whttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-W
PYTHONWARNINGShttps://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONWARNINGS
warningshttps://python.github.io/python-docs-zh-tw/library/warnings.html#module-warnings
warnings.filterwarnings()https://python.github.io/python-docs-zh-tw/library/warnings.html#warnings.filterwarnings
警告過濾器https://python.github.io/python-docs-zh-tw/library/warnings.html#warning-filter
描述警告過濾器https://python.github.io/python-docs-zh-tw/library/warnings.html#describing-warning-filters
https://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-x
https://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-X
faulthandlerhttps://python.github.io/python-docs-zh-tw/library/faulthandler.html#module-faulthandler
PYTHONFAULTHANDLERhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONFAULTHANDLER
debug buildshttps://python.github.io/python-docs-zh-tw/using/configure.html#debug-build
tracemallochttps://python.github.io/python-docs-zh-tw/library/tracemalloc.html#module-tracemalloc
tracemalloc.start()https://python.github.io/python-docs-zh-tw/library/tracemalloc.html#tracemalloc.start
PYTHONTRACEMALLOChttps://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONTRACEMALLOC
integer string conversion length limitationhttps://python.github.io/python-docs-zh-tw/library/stdtypes.html#int-max-str-digits
PYTHONINTMAXSTRDIGITShttps://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONINTMAXSTRDIGITS
PYTHONPROFILEIMPORTTIMEhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONPROFILEIMPORTTIME
Python Development Modehttps://python.github.io/python-docs-zh-tw/library/devmode.html#devmode
PYTHONDEVMODEhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONDEVMODE
Python UTF-8 Modehttps://python.github.io/python-docs-zh-tw/library/os.html#utf8-mode
Python UTF-8 Modehttps://python.github.io/python-docs-zh-tw/library/os.html#utf8-mode
PYTHONUTF8https://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONUTF8
PYTHONPYCACHEPREFIXhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONPYCACHEPREFIX
EncodingWarninghttps://python.github.io/python-docs-zh-tw/library/exceptions.html#EncodingWarning
PYTHONWARNDEFAULTENCODINGhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONWARNDEFAULTENCODING
PYTHONNODEBUGRANGEShttps://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONNODEBUGRANGES
PYTHON_FROZEN_MODULEShttps://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHON_FROZEN_MODULES
PYTHONPERFSUPPORThttps://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONPERFSUPPORT
Python 對 Linux perf 分析器的支援https://python.github.io/python-docs-zh-tw/howto/perf_profiling.html#perf-profiling
PYTHON_PERF_JIT_SUPPORThttps://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHON_PERF_JIT_SUPPORT
Python 對 Linux perf 分析器的支援https://python.github.io/python-docs-zh-tw/howto/perf_profiling.html#perf-profiling
PEP 768https://peps.python.org/pep-0768/
PYTHON_DISABLE_REMOTE_DEBUGhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHON_DISABLE_REMOTE_DEBUG
PEP 768https://peps.python.org/pep-0768/
os.cpu_count()https://python.github.io/python-docs-zh-tw/library/os.html#os.cpu_count
os.process_cpu_count()https://python.github.io/python-docs-zh-tw/library/os.html#os.process_cpu_count
multiprocessing.cpu_count()https://python.github.io/python-docs-zh-tw/library/multiprocessing.html#multiprocessing.cpu_count
PYTHON_CPU_COUNThttps://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHON_CPU_COUNT
sitehttps://python.github.io/python-docs-zh-tw/library/site.html#module-site
__main__https://python.github.io/python-docs-zh-tw/library/__main__.html#module-__main__
__main__https://python.github.io/python-docs-zh-tw/library/__main__.html#module-__main__
built in debug modehttps://python.github.io/python-docs-zh-tw/using/configure.html#debug-build
PYTHON_PRESITEhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHON_PRESITE
--disable-gilhttps://python.github.io/python-docs-zh-tw/using/configure.html#cmdoption-disable-gil
PYTHON_GILhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHON_GIL
Free-threaded CPythonhttps://python.github.io/python-docs-zh-tw/whatsnew/3.13.html#whatsnew313-free-threaded-cpython
Threadhttps://python.github.io/python-docs-zh-tw/library/threading.html#threading.Thread
PYTHON_THREAD_INHERIT_CONTEXThttps://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHON_THREAD_INHERIT_CONTEXT
warnings.catch_warningshttps://python.github.io/python-docs-zh-tw/library/warnings.html#warnings.catch_warnings
ContextVarhttps://python.github.io/python-docs-zh-tw/library/contextvars.html#contextvars.ContextVar
PYTHON_CONTEXT_AWARE_WARNINGShttps://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHON_CONTEXT_AWARE_WARNINGS
--disable-gilhttps://python.github.io/python-docs-zh-tw/using/configure.html#cmdoption-disable-gil
PYTHON_TLBChttps://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHON_TLBC
sys._xoptionshttps://python.github.io/python-docs-zh-tw/library/sys.html#sys._xoptions
Jythonhttps://www.jython.org/
https://python.github.io/python-docs-zh-tw/using/cmdline.html#controlling-color
FORCE_COLORhttps://force-color.org/
NO_COLORhttps://no-color.org/
PYTHON_COLORShttps://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHON_COLORS
https://python.github.io/python-docs-zh-tw/using/cmdline.html#environment-variables
https://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONHOME
PYTHONHOMEhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONHOME
PYTHONHOMEhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONHOME
https://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONPATH
os.pathsephttps://python.github.io/python-docs-zh-tw/library/os.html#os.pathsep
PYTHONPATHhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONPATH
PYTHONHOMEhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONHOME
PYTHONPATHhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONPATH
PYTHONPATHhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONPATH
介面選項https://python.github.io/python-docs-zh-tw/using/cmdline.html#using-on-interface-options
sys.pathhttps://python.github.io/python-docs-zh-tw/library/sys.html#sys.path
https://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONSAFEPATH
sys.pathhttps://python.github.io/python-docs-zh-tw/library/sys.html#sys.path
-Phttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-P
https://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONPLATLIBDIR
sys.platlibdirhttps://python.github.io/python-docs-zh-tw/library/sys.html#sys.platlibdir
https://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONSTARTUP
sys.ps1https://python.github.io/python-docs-zh-tw/library/sys.html#sys.ps1
sys.ps2https://python.github.io/python-docs-zh-tw/library/sys.html#sys.ps2
sys.__interactivehook__https://python.github.io/python-docs-zh-tw/library/sys.html#sys.__interactivehook__
稽核事件https://python.github.io/python-docs-zh-tw/library/sys.html#auditing
https://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONOPTIMIZE
-Ohttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-O
-Ohttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-O
https://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONBREAKPOINT
sys.breakpointhook()https://python.github.io/python-docs-zh-tw/library/sys.html#sys.breakpointhook
breakpoint()https://python.github.io/python-docs-zh-tw/library/functions.html#breakpoint
sys.breakpointhook()https://python.github.io/python-docs-zh-tw/library/sys.html#sys.breakpointhook
https://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONDEBUG
-dhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-d
-dhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-d
debug build of Pythonhttps://python.github.io/python-docs-zh-tw/using/configure.html#debug-build
https://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONINSPECT
-ihttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-i
os.environhttps://python.github.io/python-docs-zh-tw/library/os.html#os.environ
稽核事件https://python.github.io/python-docs-zh-tw/library/sys.html#auditing
PYTHONSTARTUPhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONSTARTUP
https://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONUNBUFFERED
-uhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-u
https://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONVERBOSE
-vhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-v
-vhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-v
https://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONCASEOK
importhttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#import
https://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONDONTWRITEBYTECODE
-Bhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-B
https://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONPYCACHEPREFIX
-Xhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-X
https://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONHASHSEED
PYTHONHASHSEEDhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONHASHSEED
https://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONINTMAXSTRDIGITS
integer string conversion length limitationhttps://python.github.io/python-docs-zh-tw/library/stdtypes.html#int-max-str-digits
https://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONIOENCODING
str.encode()https://python.github.io/python-docs-zh-tw/library/stdtypes.html#str.encode
PYTHONLEGACYWINDOWSSTDIOhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONLEGACYWINDOWSSTDIO
https://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONNOUSERSITE
user site-packages directoryhttps://python.github.io/python-docs-zh-tw/library/site.html#site.USER_SITE
sys.pathhttps://python.github.io/python-docs-zh-tw/library/sys.html#sys.path
PEP 370https://peps.python.org/pep-0370/
https://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONUSERBASE
user base directoryhttps://python.github.io/python-docs-zh-tw/library/site.html#site.USER_BASE
user site-packages directoryhttps://python.github.io/python-docs-zh-tw/library/site.html#site.USER_SITE
installation pathshttps://python.github.io/python-docs-zh-tw/library/sysconfig.html#sysconfig-user-scheme
PEP 370https://peps.python.org/pep-0370/
https://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONEXECUTABLE
https://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONWARNINGS
-Whttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-W
-Whttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-W
警告過濾器https://python.github.io/python-docs-zh-tw/library/warnings.html#warning-filter
描述警告過濾器https://python.github.io/python-docs-zh-tw/library/warnings.html#describing-warning-filters
https://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONFAULTHANDLER
faulthandler.enable()https://python.github.io/python-docs-zh-tw/library/faulthandler.html#faulthandler.enable
SIGSEGVhttps://python.github.io/python-docs-zh-tw/library/signal.html#signal.SIGSEGV
SIGFPEhttps://python.github.io/python-docs-zh-tw/library/signal.html#signal.SIGFPE
SIGABRThttps://python.github.io/python-docs-zh-tw/library/signal.html#signal.SIGABRT
SIGBUShttps://python.github.io/python-docs-zh-tw/library/signal.html#signal.SIGBUS
SIGILLhttps://python.github.io/python-docs-zh-tw/library/signal.html#signal.SIGILL
-Xhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-X
https://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONTRACEMALLOC
tracemallochttps://python.github.io/python-docs-zh-tw/library/tracemalloc.html#module-tracemalloc
tracemalloc.start()https://python.github.io/python-docs-zh-tw/library/tracemalloc.html#tracemalloc.start
-Xhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-X
https://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONPROFILEIMPORTTIME
-Xhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-X
https://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONASYNCIODEBUG
debug modehttps://python.github.io/python-docs-zh-tw/library/asyncio-dev.html#asyncio-debug-mode
asynciohttps://python.github.io/python-docs-zh-tw/library/asyncio.html#module-asyncio
https://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONMALLOC
default memory allocatorshttps://python.github.io/python-docs-zh-tw/c-api/memory.html#default-memory-allocators
PYMEM_DOMAIN_RAWhttps://python.github.io/python-docs-zh-tw/c-api/memory.html#c.PYMEM_DOMAIN_RAW
PYMEM_DOMAIN_MEMhttps://python.github.io/python-docs-zh-tw/c-api/memory.html#c.PYMEM_DOMAIN_MEM
PYMEM_DOMAIN_OBJhttps://python.github.io/python-docs-zh-tw/c-api/memory.html#c.PYMEM_DOMAIN_OBJ
pymalloc allocatorhttps://python.github.io/python-docs-zh-tw/c-api/memory.html#pymalloc
PYMEM_DOMAIN_MEMhttps://python.github.io/python-docs-zh-tw/c-api/memory.html#c.PYMEM_DOMAIN_MEM
PYMEM_DOMAIN_OBJhttps://python.github.io/python-docs-zh-tw/c-api/memory.html#c.PYMEM_DOMAIN_OBJ
PYMEM_DOMAIN_RAWhttps://python.github.io/python-docs-zh-tw/c-api/memory.html#c.PYMEM_DOMAIN_RAW
mimalloc allocatorhttps://python.github.io/python-docs-zh-tw/c-api/memory.html#mimalloc
PYMEM_DOMAIN_MEMhttps://python.github.io/python-docs-zh-tw/c-api/memory.html#c.PYMEM_DOMAIN_MEM
PYMEM_DOMAIN_OBJhttps://python.github.io/python-docs-zh-tw/c-api/memory.html#c.PYMEM_DOMAIN_OBJ
PYMEM_DOMAIN_RAWhttps://python.github.io/python-docs-zh-tw/c-api/memory.html#c.PYMEM_DOMAIN_RAW
debug hookshttps://python.github.io/python-docs-zh-tw/c-api/memory.html#pymem-debug-hooks
default memory allocatorshttps://python.github.io/python-docs-zh-tw/c-api/memory.html#default-memory-allocators
https://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONMALLOCSTATS
pymalloc memory allocatorhttps://python.github.io/python-docs-zh-tw/c-api/memory.html#pymalloc
PYTHONMALLOChttps://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONMALLOC
https://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONLEGACYWINDOWSFSENCODING
filesystem encoding and error handlerhttps://python.github.io/python-docs-zh-tw/glossary.html#term-filesystem-encoding-and-error-handler
sys._enablelegacywindowsfsencoding()https://python.github.io/python-docs-zh-tw/library/sys.html#sys._enablelegacywindowsfsencoding
可用性https://python.github.io/python-docs-zh-tw/library/intro.html#availability
PEP 529https://peps.python.org/pep-0529/
https://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONLEGACYWINDOWSSTDIO
可用性https://python.github.io/python-docs-zh-tw/library/intro.html#availability
https://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONCOERCECLOCALE
locale.getdefaultlocale()https://python.github.io/python-docs-zh-tw/library/locale.html#locale.getdefaultlocale
error handlerhttps://python.github.io/python-docs-zh-tw/library/codecs.html#error-handlers
sys.stdinhttps://python.github.io/python-docs-zh-tw/library/sys.html#sys.stdin
sys.stdouthttps://python.github.io/python-docs-zh-tw/library/sys.html#sys.stdout
sys.stderrhttps://python.github.io/python-docs-zh-tw/library/sys.html#sys.stderr
PYTHONIOENCODINGhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONIOENCODING
PYTHONUTF8https://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONUTF8
可用性https://python.github.io/python-docs-zh-tw/library/intro.html#availability
PEP 538https://peps.python.org/pep-0538/
https://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONDEVMODE
Python Development Modehttps://python.github.io/python-docs-zh-tw/library/devmode.html#devmode
-Xhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-X
https://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONUTF8
Python UTF-8 Modehttps://python.github.io/python-docs-zh-tw/library/os.html#utf8-mode
Python UTF-8 Modehttps://python.github.io/python-docs-zh-tw/library/os.html#utf8-mode
https://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONWARNDEFAULTENCODING
EncodingWarninghttps://python.github.io/python-docs-zh-tw/library/exceptions.html#EncodingWarning
選擇性加入的編碼警告https://python.github.io/python-docs-zh-tw/library/io.html#io-encoding-warning
https://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONNODEBUGRANGES
https://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONPERFSUPPORT
-X perfhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-X
Python 對 Linux perf 分析器的支援https://python.github.io/python-docs-zh-tw/howto/perf_profiling.html#perf-profiling
https://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHON_PERF_JIT_SUPPORT
-X perf_jithttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-X
Python 對 Linux perf 分析器的支援https://python.github.io/python-docs-zh-tw/howto/perf_profiling.html#perf-profiling
https://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHON_DISABLE_REMOTE_DEBUG
PEP 768https://peps.python.org/pep-0768/
-X disable_remote_debughttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-X
https://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHON_CPU_COUNT
os.cpu_count()https://python.github.io/python-docs-zh-tw/library/os.html#os.cpu_count
os.process_cpu_count()https://python.github.io/python-docs-zh-tw/library/os.html#os.process_cpu_count
-X cpu_counthttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-X
https://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHON_FROZEN_MODULES
-X frozen_moduleshttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-X
https://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHON_COLORS
Controlling colorhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#using-on-controlling-color
https://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHON_BASIC_REPL
REPLhttps://python.github.io/python-docs-zh-tw/glossary.html#term-REPL
readlinehttps://python.github.io/python-docs-zh-tw/library/readline.html#module-readline
REPLhttps://python.github.io/python-docs-zh-tw/glossary.html#term-REPL
https://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHON_HISTORY
https://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHON_GIL
--disable-gilhttps://python.github.io/python-docs-zh-tw/using/configure.html#cmdoption-disable-gil
-X gilhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-X
Free-threaded CPythonhttps://python.github.io/python-docs-zh-tw/whatsnew/3.13.html#whatsnew313-free-threaded-cpython
https://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHON_THREAD_INHERIT_CONTEXT
Threadhttps://python.github.io/python-docs-zh-tw/library/threading.html#threading.Thread
-X thread_inherit_contexthttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-X
https://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHON_CONTEXT_AWARE_WARNINGS
warnings.catch_warningshttps://python.github.io/python-docs-zh-tw/library/warnings.html#warnings.catch_warnings
ContextVarhttps://python.github.io/python-docs-zh-tw/library/contextvars.html#contextvars.ContextVar
-X context_aware_warningshttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-X
https://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHON_JIT
https://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHON_TLBC
--disable-gilhttps://python.github.io/python-docs-zh-tw/using/configure.html#cmdoption-disable-gil
-X tlbchttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-X
https://python.github.io/python-docs-zh-tw/using/cmdline.html#debug-mode-variables
https://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONDUMPREFS
--with-trace-refshttps://python.github.io/python-docs-zh-tw/using/configure.html#cmdoption-with-trace-refs
https://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHONDUMPREFSFILE
--with-trace-refshttps://python.github.io/python-docs-zh-tw/using/configure.html#cmdoption-with-trace-refs
https://python.github.io/python-docs-zh-tw/using/cmdline.html#envvar-PYTHON_PRESITE
sitehttps://python.github.io/python-docs-zh-tw/library/site.html#module-site
__main__https://python.github.io/python-docs-zh-tw/library/__main__.html#module-__main__
__main__https://python.github.io/python-docs-zh-tw/library/__main__.html#module-__main__
-X presitehttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-X
--with-pydebughttps://python.github.io/python-docs-zh-tw/using/configure.html#cmdoption-with-pydebug
目錄https://python.github.io/python-docs-zh-tw/contents.html
1. 命令列與環境https://python.github.io/python-docs-zh-tw/using/cmdline.html
1.1. 命令列https://python.github.io/python-docs-zh-tw/using/cmdline.html#command-line
1.1.1. 介面選項https://python.github.io/python-docs-zh-tw/using/cmdline.html#interface-options
1.1.2. Generic optionshttps://python.github.io/python-docs-zh-tw/using/cmdline.html#generic-options
1.1.3. Miscellaneous optionshttps://python.github.io/python-docs-zh-tw/using/cmdline.html#miscellaneous-options
1.1.4. Controlling colorhttps://python.github.io/python-docs-zh-tw/using/cmdline.html#controlling-color
1.2. 環境變數https://python.github.io/python-docs-zh-tw/using/cmdline.html#environment-variables
1.2.1. 除錯模式變數https://python.github.io/python-docs-zh-tw/using/cmdline.html#debug-mode-variables
Python 的設置與使用https://python.github.io/python-docs-zh-tw/using/index.html
2. 在 Unix 平臺上使用 Pythonhttps://python.github.io/python-docs-zh-tw/using/unix.html
回報錯誤https://python.github.io/python-docs-zh-tw/bugs.html
顯示原始碼 https://github.com/python/cpython/blob/main/Doc/using/cmdline.rst?plain=1
索引https://python.github.io/python-docs-zh-tw/genindex.html
模組https://python.github.io/python-docs-zh-tw/py-modindex.html
下一頁https://python.github.io/python-docs-zh-tw/using/unix.html
上一頁https://python.github.io/python-docs-zh-tw/using/index.html
Pythonhttps://www.python.org/
3.14.0 Documentationhttps://python.github.io/python-docs-zh-tw/index.html
Python 的設置與使用https://python.github.io/python-docs-zh-tw/using/index.html
1. 命令列與環境https://python.github.io/python-docs-zh-tw/using/cmdline.html
版權所有https://python.github.io/python-docs-zh-tw/copyright.html
歷史與授權條款https://python.github.io/license.html
敬請捐贈。https://www.python.org/psf/donations/
發現 bughttps://python.github.io/bugs.html
Sphinxhttps://www.sphinx-doc.org/

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


URLs of crawlers that visited me.