mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 09:42:07 +02:00
21 lines
508 B
Markdown
21 lines
508 B
Markdown
# 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):
|
|
|
|
`bpython`
|
|
|
|
- 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 config file instead of the default config:
|
|
|
|
`bpython --config {{path/to/file.conf}}`
|