Rechercher une page de manuel
bpython
Langue: en
Version: August 13, 2008 (fedora - 04/07/09)
Section: 1 (Commandes utilisateur)
NAME
bpython - a fancy curses interface to the Python interactive interpreterSYNOPSIS
bpython rc-fileDESCRIPTION
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.* In-line syntax highlighting.
- Hilights commands as you type!
- Press tab to complete expressions when there's only one suggestion.
- This displays a list of parameters for any function you call. It uses the inspect module, then tries pydoc.
- This is a bit misleading, but it code that has been entered is remembered, and when you Rewind, it pops the last line and re-evaluates the entire code. This is error-prone, and mostly useful for defining classes and functions.
- This posts the current buffer to a pastebin (rafb.net/paste for now) or writes it to a file.
- Unlike other curses apps, it dumps the screen data to stdout when you quit, so you see what you've done in the buffer of your terminal.
KEYS
<C-d> Exit- Exits the interpreter, like normal interactive Python.
- Rewinds and "undoes" the last statement, read DESCRIPTION for more info.
- Saves the current buffer to a file.
- Posts the current buffer to http://rafb.net/paste (will probably become configurable), and displays the URL.
- If there's an unambigious completion of the expression, fill it in.
FILES
~/.bpythonrc- Your bpython config. See sample-rc (in /usr/share/docs/bpython/examples on Debian) for various options you can use, or read bpythonrc(5)
.
SEE ALSO
bpythonrc(5), python(1).KNOWN BUGS
Triple quoted strings over multiple lines work, but they're not highlighted properly.AUTHOR
bpython was written by Robert Anthony Farrell <robertanthonyfarrel@gmail.com>.This manual page was written by Jørgen Pedersen Tjernø <jorgen@devsoft.no>, for the Debian project (but may be used by others).
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre