2025-03-14 21:59:59 -06: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:
|
|
|
|
|
|
2025-07-24 22:27:13 -06:00
|
|
|
`ptpython {{[-i|--interactive]}} {{pad/naar/bestand.py}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Open het menu:
|
|
|
|
|
|
2025-04-03 20:36:56 -06:00
|
|
|
`<F2>`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Open de geschiedenis pagina:
|
|
|
|
|
|
2025-04-03 20:36:56 -06:00
|
|
|
`<F3>`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Wissel de plak modus:
|
|
|
|
|
|
2025-04-03 20:36:56 -06:00
|
|
|
`<F6>`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Sluit af:
|
|
|
|
|
|
2025-04-03 20:36:56 -06:00
|
|
|
`<Ctrl d>`
|