OS Manuals

/usr/bin/python3.15

python-3.15 without /usr/bin/python3

From python-3.15-base 3.15.2_git20261106-r0 (os), captured 2026-11-06 by running python3.15 --help (exit 0). permalink

Also provided by 3 other package versions
usage: /usr/bin/python3.15 [option] ... [-c cmd | -m mod | file | -] [arg] ...
Options (and corresponding environment variables):
-b     : issue warnings about converting bytes/bytearray to str and comparing
         bytes/bytearray with str or bytes with int. (-bb: issue errors)
         deprecated since 3.15 and will become no-op in 3.17.
-B     : don't write .pyc files on import; also PYTHONDONTWRITEBYTECODE=x
-c cmd : program passed in as string (terminates option list)
-d     : turn on parser debugging output (for experts only, only works on
         debug builds); also PYTHONDEBUG=x
-E     : ignore PYTHON* environment variables (such as PYTHONPATH)
-h     : print this help message and exit (also -? or --help)
-i     : inspect interactively after running script; forces a prompt even
         if stdin does not appear to be a terminal; also PYTHONINSPECT=x
-I     : isolate Python from the user's environment (implies -E, -P and -s)
-m mod : run library module as a script (terminates option list)
-O     : remove assert and __debug__-dependent statements; add .opt-1 before
         .pyc extension; also PYTHONOPTIMIZE=x
-OO    : do -O changes and also discard docstrings; add .opt-2 before
         .pyc extension
-P     : don't prepend a potentially unsafe path to sys.path; also
         PYTHONSAFEPATH
-q     : don't print version and copyright messages on interactive startup
-s     : don't add 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;
         this option has no effect on stdin; also PYTHONUNBUFFERED=x
-v     : verbose (trace import statements); also PYTHONVERBOSE=x
         can be supplied multiple times to increase verbosity
-V     : print the Python version number and exit (also --version)
         when given twice, print more information about the build
-W arg : warning control; arg is action:message:category:module:lineno
         also PYTHONWARNINGS=arg
-x     : skip first line of source, allowing use of non-Unix forms of #!cmd
-X opt : set 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 (default; interactive mode if a tty)
arg ...: arguments passed to program in sys.argv[1:]
Options (26)
OptionDescriptionSource
-b: issue warnings about converting bytes/bytearray to str and comparing bytes/bytearray with str or bytes with int.help + man
-B: don't write .pyc files on import;help + man
-dTurn on parser debugging output (for expert only, depending on compilation options).help + man
-EIgnore environment variables like PYTHONPATH and PYTHONHOME that modify the behavior of the interpreter.help + man
-h, -?, --helpPrints the usage for the interpreter executable and exits.help + man
-iWhen a script is passed as first argument or the -c option is used, enter interactive mode after executing the script or the command.help + man
-I: isolate Python from the user's environment (implies -E, -P and -s)help + man
-ORemove assert statements and any code conditional on the value of __debug__;help + man
-OO: do -O changes and also discard docstrings;help + man
-PDon't automatically prepend a potentially unsafe path to sys.path such as the current directory, the script's directory or an empty string.help + man
-q: don't print version and copyright messages on interactive startuphelp + man
-s: don't add user site directory to sys.path;help + man
-SDisable the import of the module site and the site-dependent manipulations of sys.path that it entails.help + man
-u: force the stdout and stderr streams to be unbuffered;help + man
-vPrint a message each time a module is initialized, showing the place (filename or built-in module) from which it is loaded.help + man
-V, --version: print the Python version number and exit (also --version) when given twice, print more information about the buildhelp + man
-x: skip first line of source, allowing use of non-Unix forms of #!cmdhelp + man
--check-hash-based-pycs always|default|never:Configure how Python evaluates the up-to-dateness of hash-based .pyc files.help + man
-c commandSpecify the command to execute (see next section). (in the manual page but not in --help)man
--help-envPrints help about Python-specific environment variables and exits. (in the manual page but not in --help)man
--help-xoptionsPrints help about implementation-specific -X options and exits. (in the manual page but not in --help)man
--help-allPrints complete usage information and exits. (in the manual page but not in --help)man
-m module-nameSearches sys.path for the named module and runs the corresponding .py file as a script. (in the manual page but not in --help)man
-RTurn on hash randomization. (in the manual page but not in --help)man
-W argumentWarning control. (in the manual page but not in --help)man
-X optionSet implementation-specific option. (in the manual page but not in --help)man

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.