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.
[ Parent
| on HN ]
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.