2023-12-21 11:53:43 +01:00
|
|
|
# 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:
|
|
|
|
|
2025-03-23 01:42:58 +02:00
|
|
|
`<F2>`
|
2023-12-21 11:53:43 +01:00
|
|
|
|
|
|
|
- Open de geschiedenis pagina:
|
|
|
|
|
2025-03-23 01:42:58 +02:00
|
|
|
`<F3>`
|
2023-12-21 11:53:43 +01:00
|
|
|
|
|
|
|
- Wissel de plak modus:
|
|
|
|
|
2025-03-23 01:42:58 +02:00
|
|
|
`<F6>`
|
2023-12-21 11:53:43 +01:00
|
|
|
|
|
|
|
- Sluit af:
|
|
|
|
|
2025-03-23 01:42:58 +02:00
|
|
|
`<Ctrl d>`
|