mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 09:02:08 +02:00
bpython: add page (#15312)
* bpython: add page * Update pages/common/bpython.md Co-authored-by: Wiktor Perskawiec <git@spageektti.cc> --------- Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
This commit is contained in:
parent
11b0ad4f9e
commit
8742bfc456
1 changed files with 21 additions and 0 deletions
21
pages/common/bpython.md
Normal file
21
pages/common/bpython.md
Normal file
|
@ -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://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 --interactive {{path/to/file.py}}`
|
||||||
|
|
||||||
|
- Use the specified [c]onfig file instead of the default config:
|
||||||
|
|
||||||
|
`bpython --config {{path/to/file.conf}}`
|
Loading…
Add table
Reference in a new issue