|
Original |
Translation |
|
1
|
Command line and environment
|
|
|
2
|
The CPython interpreter scans the command line and the environment for various settings.
|
|
|
3
|
Other implementations' command line schemes may differ. See :ref:`implementations` for further resources.
|
|
|
4
|
|
5
|
When invoking Python, you may specify any of these options::
|
|
|
6
|
python [-bBdEhiOsSuvVWx?] [-c command | -m module-name | script | - ] [args]
|
|
|
7
|
The most common use case is, of course, a simple invocation of a script::
|
|
|
8
|
|
|
|
9
|
|
|
|
10
|
The interpreter interface resembles that of the UNIX shell, but provides some additional methods of invocation:
|
|