| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [View Raw Code] [Original HTTPS Page] |
| orphan: |
|---|
bpython [options] [file [args]]
bpython-curses [options] [file [args]]
bpython-urwid [options] [file [args]]
The idea is to provide the user with all the features in-line, much like modern IDEs, but in a simple, lightweight package that can be run in a terminal window.
The long and short forms of options, shown here as alternatives, are equivalent. If :program:`bpython` sees an argument it does not know, execution falls back to the regular Python interpreter.
The following options are supported by all frontends:
| --config=<config> | |
| Use <config> instead of default config file. | |
| -h, --help | Show the help message and exit. |
| -i, --interactive | |
| Drop to bpython shell after running file instead of exiting. The PYTHONSTARTUP file is not read. | |
| -q, --quiet | Do not flush the output to stdout. |
| -V, --version | Print :program:`bpython`'s version and exit. |
In addition to the above options, :program:`bpython` also supports the following options:
| -L, --log | Write debugging messages to the file bpython.log. Use -LL for more verbose logging. |
| -p file, --paste=file | |
| Paste in the contents of a file at startup. | |
In addition to the common options, :program:`bpython-urwid` also supports the following options if Twisted is available:
| -r <reactor>, --reactor=<reactor> | |
| Use Twisted's <reactor> instead of urwid's event loop. | |
| --help-reactors | |
| Display a list of available Twisted reactors. | |
| -p <plugin>, --plugin=<plugin> | |
| Execute a :program:`twistd` plugin. Use :program:`twistd` to get a list of available plugins. Use -- to pass options to the plugin. | |
| -s <port>, --server=<port> | |
| Run an eval server on port <port>. This option forces the use of a Twisted reactor. | |
:program:`bpython`'s keys are fully configurable. See http://docs.bpython-interpreter.org/configuration.html#keyboard
$XDG_CONFIG_HOME/bpython/config
Your bpython config. See sample-config (in /usr/share/doc/bpython/examples on Debian) for various options you can use, or read :manpage:`bpython-config(5)`.
See http://github.com/bpython/bpython/issues/ for a list of known issues.
:manpage:`bpython-config(5)`, :manpage:`python(1)`
:program:`bpython` was written by Robert Anthony Farrell <robertanthonyfarrel@gmail.com> and his bunch of loyal followers.
This manual page was written by Jørgen Pedersen Tjernø <jorgen@devsoft.no>, for the Debian project (but may be used by others).
| Back | FazBrowse Home | New Git URL |