10. Execution Environment
This chapter describes the environment in which Python programs are executed. The goal is to describe the runtime behavior of the interpreter, including program startup, configuration, and program termination.
Interpreter Options and Environment
The interpreter has a number of options that control its runtime behavior and environment. Options are given to the interpreter on the command line as follows:
python [options] [-c cmd | filename | - ] [args]
Here’s a list of the most common command-line options:
The -i
option starts an interactive session immediately after a program ...
Get Python: Essential Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.