1BPYTHON(1)                  General Commands Manual                 BPYTHON(1)
2
3
4

NAME

6       bpython  -  a  fancy  curses interface to the Python interactive inter‐
7       preter
8

SYNOPSIS

10       bpython [options] [file [args]]
11

DESCRIPTION

13       The idea is to provide the user with all  the  features  in-line,  much
14       like  modern IDEs, but in a simple, lightweight package that can be run
15       in a terminal window.
16
17       * In-line syntax highlighting.
18              Hilights commands as you type!
19       * Readline-like autocomplete with suggestions displayed as you type.
20              Press tab to complete expressions when there's only one  sugges‐
21              tion.
22       * Expected parameter list.
23              This displays a list of parameters for any function you call. It
24              uses the inspect module, then tries pydoc.
25       * Rewind.
26              This is a bit misleading, but it code that has been  entered  is
27              remembered,  and  when  you  Rewind,  it  pops the last line and
28              re-evaluates the entire code. This is  error-prone,  and  mostly
29              useful for defining classes and functions.
30       * Pastebin code/write to file.
31              This posts the current buffer to a pastebin (paste.pocoo.org) or
32              writes it to a file.
33       * Flush curses screen to stdout.
34              Unlike other curses apps, bpython dumps the screen data to  std‐
35              out  when you quit, so you see what you've done in the buffer of
36              your terminal.
37
38

OPTIONS

40       The long and short forms of options, shown here  as  alternatives,  are
41       equivalent.  If  bpython  sees  an argument it does not know, execution
42       falls back to the regular Python interpreter.
43
44       --config=config
45           Use config instead of default config file.
46
47       -h
48       --help
49           Show the help message and exit.
50
51       -i
52       --interactive
53           Drop to bpython shell after running file instead of  exiting.   The
54           PYTHONSTARTUP file is not read.
55
56       -q
57       --quiet
58           Do not flush the output to stdout.
59
60       -V
61       --version
62           Print bpython's version and exit.
63
64

KEYS

66       bpython's  keys  are fully configurable. See http://docs.bpython-inter
67       preter.org/configuration.html#keyboard
68
69

FILES

71       ~/.bpython/config
72              Your     bpython     config.     See      sample-config      (in
73              /usr/share/doc/bpython/examples  on  Debian) for various options
74              you can use, or read bpython-config(5)
75               .
76
77

KNOWN BUGS

79       See  http://bitbucket.org/bobf/bpython/issues/  for  a  list  of  known
80       issues.
81
82

SEE ALSO

84       bpython-config(5), python(1).
85
86

AUTHOR

88       bpython  was  written  by  Robert  Anthony  Farrell  <robertanthonyfar‐
89       rel@gmail.com> and his bunch of loyal followers.
90
91       This manual page was written by  Jørgen  Pedersen  Tjernø  <jorgen@dev‐
92       soft.no>, for the Debian project (but may be used by others).
93
94
95
96                              September 21, 2009                    BPYTHON(1)
Impressum