PYTHON(1) | User Commands | PYTHON(1) |
Python - manual page for vtkPython 3.9.0+ : VTK-Wrapper for Python
usage: /usr/bin/../lib/x86_64-linux-gnu/vtkpython [option] ... [-c cmd | -m mod | file | -] [arg] ... Options and arguments (and corresponding environment variables): -b : issue warnings about str(bytes_instance), str(bytearray_instance)
-B : don't write .pyc files on import; also PYTHONDONTWRITEBYTECODE=x -c cmd : program passed in as string (terminates option list) -d : debug output from parser; also PYTHONDEBUG=x -E : ignore PYTHON* environment variables (such as PYTHONPATH) -h : print this help message and exit (also --help) -i : inspect interactively after running script; forces a prompt even
-I : isolate Python from the user's environment (implies -E and -s) -m mod : run library module as a script (terminates option list) -O : remove assert and __debug__-dependent statements; add .opt-1 before
-OO : do -O changes and also discard docstrings; add .opt-2 before
-q : don't print version and copyright messages on interactive startup -s : don't add user site directory to sys.path; also PYTHONNOUSERSITE -S : don't imply 'import site' on initialization -u : force the stdout and stderr streams to be unbuffered;
-v : verbose (trace import statements); also PYTHONVERBOSE=x
-V : print the Python version number and exit (also --version)
-W arg : warning control; arg is action:message:category:module:lineno
-x : skip first line of source, allowing use of non-Unix forms of #!cmd -X opt : set implementation-specific option. The following options are available:
-X faulthandler: enable faulthandler
-X oldparser: enable the traditional LL(1) parser; also PYTHONOLDPARSER
-X showrefcount: output the total reference count and number of used
-X tracemalloc: start tracing Python memory allocations using the
-X importtime: show how long each import takes. It shows module name,
-X dev: enable CPython's "development mode", introducing additional runtime
-X utf8: enable UTF-8 mode for operating system interfaces, overriding the default
-X pycache_prefix=PATH: enable writing .pyc files to a parallel tree rooted at the
file : program read from script file - : program read from stdin (default; interactive mode if a tty) arg ...: arguments passed to program in sys.argv[1:]
Other environment variables: PYTHONSTARTUP: file executed on interactive startup (no default) PYTHONPATH : ':'-separated list of directories prefixed to the
PYTHONHOME : alternate <prefix> directory (or <prefix>:<exec_prefix>).
PYTHONPLATLIBDIR : override sys.platlibdir. 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. PYTHONHASHSEED: if this variable is set to 'random', a random value is used
PYTHONMALLOC: set the Python memory allocators and/or install debug hooks
PYTHONCOERCECLOCALE: if this variable is set to 0, it disables the locale
PYTHONBREAKPOINT: if this variable is set to 0, it disables the default
PYTHONDEVMODE: enable the development mode. PYTHONPYCACHEPREFIX: root directory for bytecode cache (pyc) files.
The full documentation for Python is maintained as a Texinfo manual. If the info and Python programs are properly installed at your site, the command
should give you access to the complete manual.
November 2020 | Python 3.9.0+ |