20 lines
328 B
Markdown
20 lines
328 B
Markdown
# Python
|
|
|
|
> Python language interpeter
|
|
|
|
- Call a Python interactive shell (REPL)
|
|
|
|
`python`
|
|
|
|
- Execute script in a given Python file
|
|
|
|
`python {{script.py}}`
|
|
|
|
- Execute Python language single command
|
|
|
|
`python -c {{command}}`
|
|
|
|
- Execute a Python module (SimpleHTTPServer, json.tool, etc)
|
|
|
|
`python -m {{moduleName}} {{parameters}}`
|