Better quote with single quotes.

This commit is contained in:
Georg Brandl 2008-05-30 19:17:29 +00:00
parent 6bb7bcf5f7
commit c5a235bb55
1 changed files with 2 additions and 2 deletions

View 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