Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Bpython is good, but IPython with %edit and knowledge of a command line text editor has changed my workflow[1]. I wish more repls had this ability.

[1]: Maybe you can do it Bpython and I'm just not aware.



I don't know what %edit does, but if I guess that it has something to do with an editor, I use this in my dotfiles:

https://github.com/Julian/dotfiles/blob/master/.pythonrc#L55

which is perfectly REPL agnostic.

I prefer bpython over iPython for a bunch of reasons that I can't easily elaborate on from here on my mobile, but is definitely suggest people try them both out.


That's pretty nifty - thanks.

EDIT: Also, I have used bpython, but since I use python more on the data side as opposed to web (or something not data) IPython along with everything else make it too good to not use.


Yeah. That's where ipython probably hits the sweet spot, so that's reasonable.


Hi there. It looks like IPython is definitely the better choice for you - I never wanted to add IDE-like features to bpython; I just wanted it to work the same as the regular shell but with a bunch of nice features on top. If you want something more complex, or something with more specialisation is certain areas then IPython is probably the better choice. Especially with the recent funding they've received I expect it will just get better and better. :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: