A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/bpython/bpython below:

GitHub - bpython/bpython: bpython - A fancy curses interface to the Python interactive interpreter

bpython: A fancy interface to the Python interactive interpreter

bpython is a lightweight Python interpreter that adds several features common to IDEs. These features include syntax highlighting, expected parameter list, auto-indentation, and autocompletion. (See below for example usage).

bpython does not aim to be a complete IDE - the focus is on implementing a few ideas in a practical, useful, and lightweight manner.

bpython is a great replacement to any occasion where you would normally use the vanilla Python interpreter - testing out solutions to people's problems on IRC, quickly testing a method of doing something without creating a temporary file, etc.

You can find more about bpython - including full documentation - at our homepage.

Installation & Basic Usage

If you have pip installed, you can simply run:

Start bpython by typing bpython in your terminal. You can exit bpython by using the exit() command or by pressing control-D like regular interactive Python.

See the sample-config file for a list of available options. You should save your config file as ~/.config/bpython/config (i.e. $XDG_CONFIG_HOME/bpython/config) or specify at the command line:

bpython --config /path/to/bpython/config

bpython-urwid requires the following additional packages:

Installation via OS Package Manager

The majority of desktop computer operating systems come with package management systems. If you use one of these OSes, you can install bpython using the package manager.

Ubuntu/Debian family Linux users can install bpython using the apt package manager, using the command with sudo privileges:

In case you are using an older version, run

$ apt-get install bpython

Arch Linux uses pacman as the default package manager; you can use it to install bpython:

Fedora users can install bpython directly from the command line using dnf.

Guix users can install bpython on any GNU/Linux distribution directly from the command line:

macOS does not include a package manager by default. If you have installed any third-party package manager like MacPorts, you can install it via

$ sudo port install py-bpython

For known bugs please see bpython's known issues and FAQ page.

I hope you find it useful and please feel free to submit any bugs/patches suggestions to Robert or place them on the GitHub issues tracker.

For any other ways of communicating with bpython users and devs you can find us at the community page on the project homepage, or in the community.

Hope to see you there!


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4