[docs] Hard to parse, understand, or believe statement in 2.1 "Invoking the Interpreter."

Steve Katzman steve.katzman at purestorage.com
Wed Apr 13 17:26:27 EDT 2016


The bold part of the following statement, from the 2.1 "Invoking the
Interpreter" page of the tutorial, is hard to follow.

"Some Python modules are also useful as scripts. These can be invoked
using python
-m module [arg] ..., which executes the source file for *module* *as if you
had spelled out its full name on the command line."*

Does it mean "as if you had spelled out the source file on the command
line?" or perhaps "as if you had spelled out the full name of the script
imbedded in the module?" It seems to read as though "its full name" refers
to the name of the module typed in the invocation.  Is this correct - does
"name" in this context mean something different from the module name?

Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20160413/8e512156/attachment.html>


More information about the docs mailing list