1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/python.md
2016-01-08 09:38:59 +01:00

19 lines
325 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}}`
- Run library module as a script (terminates option list):
`python -m {{module}} {{arguments}}`