mirror of https://github.com/CrimsonTome/tldr.git
16 lines
223 B
Markdown
16 lines
223 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}}`
|