ptpython3
Enhanced interactive Python 3 REPL
TLDR
Start Python 3 REPL
$ ptpython3
Start with vi mode$ ptpython3 --vi
Execute file then REPL$ ptpython3 -i [script.py]
SYNOPSIS
ptpython3 [options] [file]
DESCRIPTION
ptpython3 is the Python 3 variant of ptpython, an enhanced interactive REPL with syntax highlighting, autocompletion, multi-line editing, and vi/emacs key bindings built on the prompt_toolkit library.
On modern systems where Python 3 is the default, ptpython and ptpython3 are typically identical. The separate binary exists for systems where both Python 2 and Python 3 are installed side by side.
PARAMETERS
FILE
Python file to execute.--vi
Vi editing mode.-i
Interactive after file.
CAVEATS
Python 3 version. Same as ptpython on modern systems.
HISTORY
ptpython3 is the Python 3 variant of ptpython.
