snippetbashTip
bpython — A fancy interface to the Python interpreter. Provides syntax highlighting and many other nice-to-hav
Viewed 0 times
thecommandpythonbpythoninterfacefancycliinterpreter
Problem
How to use the
bpython command: A fancy interface to the Python interpreter. Provides syntax highlighting and many other nice-to-haves in REPL mode. More information: <https://manned.org/bpython>.Solution
bpython — A fancy interface to the Python interpreter. Provides syntax highlighting and many other nice-to-haves in REPL mode. More information: <https://manned.org/bpython>.Start a REPL (interactive shell):
bpythonExecute 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}}Code Snippets
Start a REPL (interactive shell)
bpythonExecute 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}}Context
tldr-pages: common/bpython
Revisions (0)
No revisions yet.