PYTHON(1)

πŸ“¦ version 9.6.2, in ubuntu resolute, ubuntu stonking

okay so welcome to the PYTHON(1) page, straight out of the User Commands manual β€” and bestie, it's the vtkpython one, which means this Python comes with VTK library bindings already in the bag πŸ’–βœ¨


🌸 NAME 🌸

vtkpython β€” a Python interpreter that has VTK library bindings, slay πŸπŸ‘‘


πŸ’… DESCRIPTION πŸ’…

okay so the vibe is literally this:

usage: python [option] ... [-c cmd | -m mod | file | -] [arg] ...

πŸŽ€ Options (and corresponding environment variables) πŸŽ€

  • -b β€” the "be careful with types" flag: it issues warnings about converting bytes/bytearray to str, and about comparing bytes/bytearray with str or bytes with int. Wanna make those actual errors instead of lil warnings? That's -bb. πŸ’€
  • -B β€” don't write .pyc files on import. Also available as PYTHONDONTWRITEBYTECODE=x.
  • -c cmd β€” the program gets passed in as a string. Heads up: this terminates the option list, periodt.
  • -d β€” turn on parser debugging output. For experts only, and it only works on debug builds, no cap. Also PYTHONDEBUG=x.
  • -E β€” ignore the PYTHON* environment variables (things like PYTHONPATH). 🫢
  • -h β€” print this help message and exit (also -? or --help).
  • -i β€” inspect interactively after running the script; it forces a prompt even if stdin does not appear to be a terminal. Also PYTHONINSPECT=x.
  • -I β€” isolate Python from the user's environment. It implies -E, -P and -s. main character energy, honestly.
  • -m mod β€” run a library module as a script. This one also terminates the option list.
  • -O β€” remove assert and __debug__-dependent statements; add .opt-1 before the .pyc extension. Also PYTHONOPTIMIZE=x.
  • -OO β€” does all the -O changes and also discards docstrings; add .opt-2 before the .pyc extension. 😭 bye docstrings.
  • -P β€” don't prepend a potentially unsafe path to sys.path. Also PYTHONSAFEPATH.
  • -q β€” don't print the version and copyright messages on interactive startup.
  • -s β€” don't add the user site directory to sys.path. Also PYTHONNOUSERSITE=x.
  • -S β€” don't imply import site on initialization.
  • -u β€” force the stdout and stderr streams to be unbuffered. Warning tho: this option has no effect on stdin. Also PYTHONUNBUFFERED=x.
  • -v β€” verbose (it traces import statements). Also PYTHONVERBOSE=x. You can supply it multiple times to increase verbosity, so go off. πŸ”₯
  • -V β€” print the Python version number and exit (also --version). When given twice, it prints more information about the build. πŸ‘‘
  • -W arg β€” warning control; arg is action:message:category:module:lineno. Also PYTHONWARNINGS=arg.
  • -x β€” skip the first line of source, which lets you use non-Unix forms of #!cmd.
  • -X opt β€” set an implementation-specific option.
  • --check-hash-based-pycs always|default|never β€” control how Python invalidates hash-based .pyc files. πŸ¦‹
  • --help-env β€” print help about Python environment variables and exit.
  • --help-xoptions β€” print help about implementation-specific -X options and exit.
  • --help-all β€” print complete help information and exit. ✨

🫢 Arguments 🫢

  • file β€” program read from script file.
  • - β€” program read from stdin (this is the default; interactive mode if it's a tty).
  • arg ... β€” arguments passed to the program in sys.argv[1:].

πŸ¦‹ SEE ALSO πŸ¦‹

The full documentation for Python is maintained as a Texinfo manual. If info and Python are properly installed at your site, this command:

info Python

should give you access to the complete manual. iykyk πŸ’œ


and that's the whole page, bestie β€” sign-off time: this was Python 3.13.8, dated October 2025. bye babe, go write some Python πŸ’–πŸŒˆπŸŽ€

πŸ“¦ where this page comes from