mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-13 22:51:13 +03:00
20 lines
326 B
Markdown
20 lines
326 B
Markdown
# python
|
|
|
|
> Python language interpreter.
|
|
|
|
- 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}}`
|
|
|
|
- Run library module as a script (terminates option list):
|
|
|
|
`python -m {{module}} {{arguments}}`
|