Hacker News new | ask | show | jobs
by nobodysbusiness 4287 days ago
If you're looking for a better python prompt, you might want to check out BPython as well: http://bpython-interpreter.org/
2 comments

I'm a big fan of bpython (especially bpython-curtsies), but I have to admit the multiline editing and the navigation keybindings in this are very nice. Bpython lets you rewrite the last line via ctrl-r but it doesn't let you navigate through a multiline function. I find the way bpython shows the docstring when you type the open paren for a method extremely useful, however, so that would be a nice addition here.
I used to use BPython. I really liked its way of presenting autocomplete. However, its scrolling drove me NUTS (it doesn't use your terminal's scroll). I was much happier when I switched to IPython.

Both are leagues better than the plain REPL, though. :)

If you haven't seen it, you should check out bpython-curtsies, it solves the scrolling problem problem:

    pip install bpython[curtsies]
    bpython-curtsies