Live data from Hacker News

Syntax highlighting, auto complete and more within Python interpreter

bpython-interpreter.org

11–20 of 33 posts

Re: Syntax highlighting, auto complete and more within Python interpreter

#11
post #10

My favorite reaction to bpython was showing it to somebody, watching them use it for about 30 seconds, and them watching them alias it to 'python' without even thinking :) It blows the default python interpreter environment out of the water: it remembers history between sessions, autocompletes just about everything, and even has a shortcut for dumping code out to Pastebin.

"... autocompletes just about everything ..."

The problem is it cannot autocomplete this:

def example(a,b):

    a.

Re: Syntax highlighting, auto complete and more within Python interpreter

#13

Also check out DreamPie [ http://dreampie.sourceforge.net/ ], which is damn good, and has a comparable feature list.

I recently started using IPython, also with a comparable feature list: http://ipython.scipy.org/moin/

Does anyone know off the top of their head which of these is the most active?

Re: Syntax highlighting, auto complete and more within Python interpreter

#14
post #11
post #10

My favorite reaction to bpython was showing it to somebody, watching them use it for about 30 seconds, and them watching them alias it to 'python' without even thinking :) It blows the default python interpreter environment out of the water: it remembers history between sessions, autocompletes just about everything, and even has a shortcut for dumping code out to Pastebin.

"... autocompletes just about everything ..." The problem is it cannot autocomplete this: def example(a,b): a.

Perhaps you'd like a static type system?

Re: Syntax highlighting, auto complete and more within Python interpreter

#18
post #12
post #5

Did I miss something? How do I start this thing? Couldn't find it on Documentation..

Package managers aside, you can run: sudo easy_install bpython

or better yet

    sudo pip install bpython

should work anywhere you have pip installed and its the latest version

Re: Syntax highlighting, auto complete and more within Python interpreter

#20
post #6
post #5

Did I miss something? How do I start this thing? Couldn't find it on Documentation..

$ sudo apt-get install bpython $ bpython Or similar if you have a different package manager. You can also build from source: http://bpython-interpreter.org/releases/bpython-0.9.7.tar.gz ie, this isn't something you can run in your browser.

[deleted]
Post reply on HN