Kaydet (Commit) c5a235bb authored tarafından Georg Brandl's avatar Georg Brandl

Better quote with single quotes.

üst 6bb7bcf5
...@@ -51,8 +51,8 @@ and executes a *script* from that file. ...@@ -51,8 +51,8 @@ and executes a *script* from that file.
A second way of starting the interpreter is ``python -c command [arg] ...``, A second way of starting the interpreter is ``python -c command [arg] ...``,
which executes the statement(s) in *command*, analogous to the shell's which executes the statement(s) in *command*, analogous to the shell's
:option:`-c` option. Since Python statements often contain spaces or other :option:`-c` option. Since Python statements often contain spaces or other
characters that are special to the shell, it is best to quote *command* in its characters that are special to the shell, it is usually advised to quote
entirety with double quotes. *command* in its entirety with single quotes.
Some Python modules are also useful as scripts. These can be invoked using 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 ``python -m module [arg] ...``, which executes the source file for *module* as
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment