ptpython is an advanced Python Read-Eval-Print Loop (REPL), a computer environment where user inputs are read and evaluated, and then the results are returned to the user.
REPLs provide an interactive environment to explore tools available in specific environments or programming languages.
This is free and open source software.
Key Features
- Syntax highlighting.
- Multiline editing (the up arrow works). It automatically turns on when pressing enter after a colon.
- Autocompletion.
- Mouse support.
- Support for color schemes.
- Support for bracketed paste.
- Both Vi and Emacs key bindings.
- Support for double width (Chinese) characters.
- Syntax validation.
- IPython support.
- Django support.
- Cross-platform support – runs under Linux and Windows.
Website: github.com/prompt-toolkit/ptpython
Support:
Developer: Jonathan Slenders
License: BSD 3-Clause “New” or “Revised” License

ptpython is written in Python. Learn Python with our recommended free books and free tutorials.
Related Software
| Open Source Python Shells | |
|---|---|
| IPython | Enhanced interactive Python shell |
| ptpython | Advanced Python Read-Eval-Print Loop |
| bpython | Fancy interface to the Python interpreter for Linux, BSD, OS X and Windows |
| IDLE | Integrated development environment for Python |
| DreamPie | Python shell which is designed to be reliable and fun |
Read our verdict in the software roundup.
Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more. Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form. |

