4 ms·
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.
by taejo 14y ago
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.
- lucian1900 14y agoYou could write a script called 'python' that runs bpython if passed no parameters and python otherwise.
- bobfarrell 14y agoActually 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.