PYTHON3(1)
π PYTHON3 π
okay so bestie, this page comes straight out of the scalene manual, section 1 β the one for the command-line girlies. it's the whole tea on python3 and every flag she'll take from you. grab a snack, we're going through all of it π
β¨ NAME β¨
python3 β Memory Profiler for Python π«Ά
πΈ DESCRIPTION πΈ
the vibe check on how you actually call her:
usage: python3 [option] ... [-c cmd | -m mod | file | -] [arg] ...
literally every one of these options also has an environment-variable twin, and she will list them for you, because she's thoughtful like that π
π OPTIONS π
-bβ issue warnings when you convertbytes/bytearraytostr, or when you comparebytes/bytearraywithstr, orbyteswithint. (and-bb: issue errors instead, no chill at all π)-Bβ don't write.pycfiles on import; alsoPYTHONDONTWRITEBYTECODE=x-c cmdβ program passed in as string (terminates option list)-dβ turn on parser debugging output (for experts only, and it only works on debug builds); alsoPYTHONDEBUG=x-Eβ ignorePYTHON*environment variables (such asPYTHONPATH)-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; alsoPYTHONINSPECT=x-Iβ isolate Python from the user's environment (implies-E,-Pand-s) π-m modβ run library module as a script (terminates option list)-Oβ removeassertand__debug__-dependent statements; add.opt-1before the.pycextension; alsoPYTHONOPTIMIZE=x-OOβ do the-Ochanges and also discard docstrings; add.opt-2before the.pycextension-Pβ don't prepend a potentially unsafe path tosys.path; alsoPYTHONSAFEPATH-qβ don't print version and copyright messages on interactive startup-sβ don't add user site directory tosys.path; alsoPYTHONNOUSERSITE=x-Sβ don't imply'import site'on initialization-uβ force thestdoutandstderrstreams to be unbuffered; this option has no effect on stdin; alsoPYTHONUNBUFFERED=x-vβ verbose (trace import statements); alsoPYTHONVERBOSE=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;argisaction:message:category:module:lineno; alsoPYTHONWARNINGS=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.pycfiles--help-envβ print help about Python environment variables and exit--help-xoptionsβ print help about implementation-specific-Xoptions 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:]
and that's the whole thing, bestie, you ate that π no notes, main character energy from start to finish β¨ this was python3 1.5.54, dated March 2026, living her best life in section 1 of the scalene manual β mwah, take care of her, she's iconic πππ
π¦ where this page comes from
- ubuntu resolute: python3-scalene 1.5.54-2build1 Β· Apache-2.0
- ubuntu stonking: python3-scalene 1.5.54-2build1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms