summaryrefslogtreecommitdiffstats
path: root/Misc/python.man
diff options
context:
space:
mode:
Diffstat (limited to 'Misc/python.man')
-rw-r--r--Misc/python.man11
1 files changed, 11 insertions, 0 deletions
diff --git a/Misc/python.man b/Misc/python.man
index 1e85a6b..01e884f 100644
--- a/Misc/python.man
+++ b/Misc/python.man
@@ -16,6 +16,10 @@ python \- an interpreted, interactive, object-oriented programming language
.B \-i
]
[
+.B \-m
+.I module-name
+]
+[
.B \-O
]
.br
@@ -107,6 +111,13 @@ command. It does not read the $PYTHONSTARTUP file. This can be
useful to inspect global variables or a stack trace when a script
raises an exception.
.TP
+.BI "\-m " module-name
+Searches
+.I sys.path
+for the named module and runs the corresponding
+.I .py
+file as a script.
+.TP
.B \-O
Turn on basic optimizations. This changes the filename extension for
compiled (bytecode) files from