Skip to content

Commit

Permalink
bpython: add page
Browse files Browse the repository at this point in the history
  • Loading branch information
gutjuri committed Dec 22, 2024
1 parent 7adaa71 commit 15cc5f0
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions pages/common/bpython.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# bpython

> A fancy interface to the Python interpreter.
> Provides syntax highlighting and many other nice-to-haves in REPL mode.
> More information: <https://docs.bpython-interpreter.org/en/latest/>.
- 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 --interactive {{path/to/file.py}}`

- Use the specified [c]onfig file instead of the default config:

`bpython --config {{path/to/file.conf}}`

0 comments on commit 15cc5f0

Please sign in to comment.