mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-07 01:06:00 +02:00
Add python
This commit is contained in:
parent
62d037bd03
commit
f40df4adba
2 changed files with 16 additions and 1 deletions
15
pages/common/python.md
Normal file
15
pages/common/python.md
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
# 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}}`
|
File diff suppressed because one or more lines are too long
Loading…
Add table
Reference in a new issue