tldr/pages/common/python.md

20 lines
320 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}}`