mirror of https://github.com/CrimsonTome/tldr.git
33 lines
449 B
Markdown
33 lines
449 B
Markdown
|
# ptpython
|
||
|
|
||
|
> Een betere Python REPL.
|
||
|
> Meer informatie: <https://github.com/prompt-toolkit/ptpython>.
|
||
|
|
||
|
- Start een REPL (interactieve shell):
|
||
|
|
||
|
`ptpython`
|
||
|
|
||
|
- Voer een specifiek Python bestand uit:
|
||
|
|
||
|
`ptpython {{pad/naar/bestand.py}}`
|
||
|
|
||
|
- Voer een specfiek Python bestand uit en start een REPL:
|
||
|
|
||
|
`ptpython -i {{pad/naar/bestand.py}}`
|
||
|
|
||
|
- Open het menu:
|
||
|
|
||
|
`F2`
|
||
|
|
||
|
- Open de geschiedenis pagina:
|
||
|
|
||
|
`F3`
|
||
|
|
||
|
- Wissel de plak modus:
|
||
|
|
||
|
`F6`
|
||
|
|
||
|
- Sluit af:
|
||
|
|
||
|
`Ctrl + D`
|