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] ...``,
which executes the statement(s) in *command*, analogous to the shell's
: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
entirety with double quotes.
characters that are special to the shell, it is usually advised to quote
*command* in its entirety with single quotes.
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