snippetbashTip
ptpython — A better Python REPL. More information: <https://github.com/prompt-toolkit/ptpython>.
Viewed 0 times
bettercommandpythoncliinformationptpythonmorerepl
Problem
How to use the
ptpython command: A better Python REPL. More information: <https://github.com/prompt-toolkit/ptpython>.Solution
ptpython — A better Python REPL. More information: <https://github.com/prompt-toolkit/ptpython>.Start a REPL (interactive shell):
ptpythonExecute a specific Python file:
ptpython {{path/to/file.py}}Execute a specific Python file and start a REPL:
ptpython {{[-i|--interactive]}} {{path/to/file.py}}Open the menu:
<F2>Open the history page:
<F3>Toggle paste mode:
<F6>Quit:
<Ctrl d>Code Snippets
Start a REPL (interactive shell)
ptpythonExecute a specific Python file
ptpython {{path/to/file.py}}Execute a specific Python file and start a REPL
ptpython {{[-i|--interactive]}} {{path/to/file.py}}Open the menu
<F2>Open the history page
<F3>Context
tldr-pages: common/ptpython
Revisions (0)
No revisions yet.