LINUX CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>

7-DAY TOP DOWNLOAD

#
Program
Mandriva Linux
2008.1 / 2009 RC1

255,929
Fedora 9 / 10 Alpha
216,406
KNOPPIX Live DVD
5.3.1

209,747
Kororaa AIGLXgl Live
CD 0.3

180,484
Beryl 0.2.1
178,524
BackTrack 3.0
171,525
aircrack 2.41
158,233
MPlayer 1.0 RC2
158,029
VLC 0.9.0
112,971
Cedega 6.0
107,943

WEEK'S BEST

  • Softpedia Linux RS...
  • Ubuntu 8.04.1
  • Pidgin 2.5.1
  • Adobe Flash Player...
  • The Gimp 2.4.7 / 2...
  • openSUSE Linux 11....
  • Linux Kernel 2.6.2...
  • Super Grub Disk 0....
  • Skype 2.0.068
  • OpenOffice.org 2.4...
  • Mozilla Firefox 3....
  • Transmission 1.33
  • DeVeDe 3.11b
  • Wine 1.1.3
  • wine-doors 0.1.2
  • Shoreline Firewall...
  • Linux Mint 5.0
  • Google Gadgets 0.1...
  • Fedora 9 / 10 Alpha
  • Opera 9.52
  • Home / Linux / Programming / Interpreters

    bpython 0.7.0



    Downloads: 51  Add to download basket  Tell us about an update
    User Rating:
    Rated by:
    Good (3.1/5)
    21 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Robert Anthony Farrell | More programs
    MIT/X Consortium Lic... / FREE
    August 26th, 2008, 11:12 GMT
    ROOT / Programming / Interpreters

     Read user reviews (0)  Add a review  Refer to a friend  Subscribe

     

    bpython description

     

    bpython is a fancy interface to the Python interpreter for Unix-like operating systems.

    bpython is a fancy interface to the Python interpreter for Unix-like operating systems. It is released under the MIT License.

    Here are some key features of "bpython":

    ■ In-line syntax highlighting.
    ■ Readline-like autocomplete with suggestions displayed as you type.
    ■ Expected parameter list for any Python function. New to 0.2.0: Now uses pydoc to attempt to divine params for C functions.
    ■ "Rewind" function to pop the last line of code from memory and re-evaluate. Note: this is only really useful when laying out classes and functions, since a true "undo" function is impossible, so be careful when using this.
    ■ Send the code you've entered off to a pastebin and display the pastebin URL for copying, etc.
    ■ Save the code you've entered to a file.
    ■ New to 0.3.0: Auto-indentation.

    A few people asked for stuff like syntax highlighting and autocomplete for the Python interactive interpreter. IPython seems to offer this (plus you can get readline behaviour in the vanilla interpreter) but I tried IPython a couple of times. Perhaps I didn't really get it, but I get the feeling that the ideas behind IPython are pretty different to bpython. I didn't want to create a whole development environment; I simply wanted to provide a couple of neat features that already exist and turn them into something a little more interactive.

    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, so curses seemed like the best choice. Sorry if you use Windows.

    bpython doesn't attempt to create anything new or groundbreaking, it simply brings together a few neat ideas and focuses on practicality and usefulness. For this reason, the "Rewind" function should be taken with a pinch of salt, but personally I have found it to be very useful. I use bpython now whenever I would normally use the vanilla interpreter, e.g. for testing out solutions to people's problems on IRC, quickly testing a method of doing something without creating a temporary file, etc.

    Requirements:

    Pygments
    pyparsing

    Pygments is required for the syntax highlighting and pyparsing is required for the parameter lists of functions. bpython will run without these two modules but those features will be disabled. If you are on a Debian-like system then "apt-get install python-pygments python-pyparsing" should be all you need.

    What's New in This Release:

    ■ Along with a few little bugfixes, this release handles home/end/del etc.
    ■ properly, and raw_input() and friends also work correctly.
    ■ PYTHONSTARTUP is parsed without error now.

      


    TAGS:

    Python interpreter | Python interface | interactive interpreter | Python | interpreter | interface

    Related downloads IT News Popular downloads New additions   Latest reviews  
    IPython 0.8.2 / 0.9 Beta 3
    IPython provides an interactive shell superior to Python's default
    pg_greentrunk 1.0.1
    pg_greentrunk is a Python interface protocol for PostgreSQL.
    pg/python 1.0
    pg/python is an open source project working toward the improvement of Python interfaces to PostgreSQL.
    xhtmlhook 1.12
    xhtmlhook is an import hook for the Python interpreter.
    PyGSL 0.9.1
    PyGSL provides a Python interface for the GNU scientific library (gsl).


    HTML code for linking to this page:


    Go to top



    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   ENTER NEWS SITE   |   ENGLISH BOARD   |   ROMANIAN FORUM