mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
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`
|