News for hackers. Stuff that matters.
Re:Bpython is a fancy interface to the Python interpreter by vasco on Sunday May 20, 2012 @07:41PM (#4000559)
When I saw ipython for the first time I was really excited but now I realize I never actually use it. Any thoughts about why it isn't appreciated?
Re:Bpython is a fancy interface to the Python interpreter by dbecker on Sunday May 20, 2012 @09:39PM (#4000882)
I think ipython is widely appreciated in the scientific/numeric python community.
Re:Bpython is a fancy interface to the Python interpreter by kenko on Sunday May 20, 2012 @10:15PM (#4000960)
This seems right to me. ipython also has some features that go way beyond enhancements to the REPL.
Re:Bpython is a fancy interface to the Python interpreter by sophacles on Sunday May 20, 2012 @10:42PM (#4001014)
I think it is appreciated in some circles, particularly people who do programming as a means to something else (eg science research stuff). In my experience looking and playing with it tho (including diving in a bit), it just seems like a lot of complicated code for fancy repl work. Too much tight integration with their way of doing it. Personally, I was extremely interested in making ipython tie in deep with vim, but even the api provided was too complicated for the functionality it provided, given I was using outside the expected ways.
Re:Bpython is a fancy interface to the Python interpreter by takluyver on Monday May 21, 2012 @12:06PM (#4003472)
IPython has seen quite a large refactoring in the last couple of years, and now there is a popular vim-ipython integration: https://github.com/ivanov/vim-ipython
Re:Bpython is a fancy interface to the Python interpreter by sophacles on Monday May 21, 2012 @05:56PM (#4005125)
Thanks for mentioning this! I read this bit on the project page:

The big change from previous versions of ipy.vim is that it no longer requires the old brittle ipy_vimserver.py instantiation, and since it uses just vim and python, it is platform independent (i.e. works even on windows, unlike the previous nix only solution). The requirements are IPython 0.11+ with zeromq capabilities, vim compiled with +python.

And had a moment of panic. As the guy who wrote ipy_vimserver.py (the playing mentioned in my previous post) I am both glad that this awesome project ivanov wrote evolved from it, and horrified that people were using it :). (particularly after searching for ipy_vimserver on google, and finding a lot of issues people were having...)

Cheers.

Re:Bpython is a fancy interface to the Python interpreter by masklinn on Monday May 21, 2012 @02:22AM (#4001555)
ipython is very, very appreciated in scientific python communities.

It might be less so on the "engineering" side due to being perceived as more heavyweight?

Re:Bpython is a fancy interface to the Python interpreter by DasIch on Sunday May 20, 2012 @07:45PM (#4000576)
ipython provides more features but requires significantly more magic to do so which can have unintended side-effects e.g. by triggering stuff through introspection that the user didn't intend to trigger.
Re:Bpython is a fancy interface to the Python interpreter by beagle3 on Sunday May 20, 2012 @07:47PM (#4000578)
Check it again. It recently added a "Notebook" mode that you might find useful.
Re:Bpython is a fancy interface to the Python interpreter by taejo on Monday May 21, 2012 @04:25AM (#4001883)
I for one found it very difficult to get into the habit of typing "ipython" instead of "python", which seems silly but really did stop me using it.
Re:Bpython is a fancy interface to the Python interpreter by lucian1900 on Monday May 21, 2012 @06:13AM (#4002113)
You could write a script called 'python' that runs bpython if passed no parameters and python otherwise.
Re:Bpython is a fancy interface to the Python interpreter by bobfarrell on Tuesday May 22, 2012 @08:49AM (#4007514)
Actually you don't even have to do that - just alias "python" for "bpython" and bpython automagically instantiates the actual python if it is passed arguments, i.e. "bpython foo.py" is essentially the same as "python foo.py" - this feature was implemented for this reason, so you could just make an alias.