System Grab Bag

View all TLDR pages from common (or from all pages)

ptpython

A better Python REPL. More information: https://github.com/prompt-toolkit/ptpython.
  • Start a REPL (interactive shell):
    ptpython
  • Execute a specific Python file:
    ptpython {{path/to/file.py}}
  • Execute a specific Python file and start a REPL:
    ptpython -i {{path/to/file.py}}
  • Open the menu:
    F2
  • Open the history page:
    F3
  • Toggle paste mode:
    F6
  • Quit:
    Ctrl + D

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.