 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
| • |
Interface
to the Python environment
|
|
|
>>>
sys.argv
|
|
|
| • |
The
arguments with which a python script was called
|
|
>>>
sys.path
|
|
|
| • |
The
module search path
|
|
|
>>>
sys.stdin, sys.stdout, sys.stderr
|
|
|
| • |
The
input, output, and error streams
|
|
|
| • |
Behave
as files
|
|
|
|
• |
sys.stdin.read()
for input
|
|
|
|
• |
sys.stdout.write()
for output
|
|