commands.sh

bpython

all

A fancy interface to the Python interpreter. Provides syntax highlighting and many other nice-to-haves in REPL mode.

More info →

Options (1)

-i, --interactiveboolean

Execute a specific Python file and start a REPL

Example: bpython {{[-i|--interactive]}} {{path/to/file.py}}

Examples (4)

Start a REPL (interactive shell)

Execute a specific Python file

bpython path/to/file.py

Execute a specific Python file and start a REPL

bpython [-i|--interactive] path/to/file.py

Use the specified configuration file instead of the default configuration

bpython --config path/to/file.conf
made by @shridhargupta | data from tldr-pages