美文网首页
python --help 查看 Python 解释器常用的两个

python --help 查看 Python 解释器常用的两个

作者: CodeTriumph | 来源:发表于2020-04-25 09:12 被阅读0次

-u : force the stdout and stderr streams to be unbuffered;

usage: C:\Python37\python.exe [option] ... [-c cmd | -m mod | file | -] [arg] ...
Options and arguments (and corresponding environment variables):
-h     : print this help message and exit (also --help)
-u     : force the stdout and stderr streams to be unbuffered;
         this option has no effect on stdin; also PYTHONUNBUFFERED=x

PYTHONIOENCODING: Encoding[:errors] used for stdin/stdout/stderr.

Other environment variables:
PYTHONSTARTUP: file executed on interactive startup (no default)
PYTHONCASEOK : ignore case in 'import' statements (Windows).
PYTHONUTF8: if set to 1, enable the UTF-8 mode.
PYTHONIOENCODING: Encoding[:errors] used for stdin/stdout/stderr.
PYTHONFAULTHANDLER: dump the Python traceback on fatal errors.

相关文章

网友评论

      本文标题:python --help 查看 Python 解释器常用的两个

      本文链接:https://www.haomeiwen.com/subject/izlhwhtx.html