[IPython-User] Silly but annoying feature

MinRK benjaminrk@gmail....
Wed Aug 3 22:43:37 CDT 2011

I don't know if there was a reason behind it, I never even knew such a
thing existed.
If there is a desire, we can certainly add a magic_p that restores
this behavior.

In the meantime, if you add:

c.InteractiveShellApp.exec_lines = ["from __future__ import
print_function; p = print"]

to your config file, you should be all set.


On Wed, Aug 3, 2011 at 19:54, Arlindo da Silva <dasilva@alum.mit.edu> wrote:
> Guys,
>   If I'd collect statistics on my most used ipython command by far that
> would be "p" for "print" as in
> In [0]: x=10
> In [1]: p x
> 10
> Why is "p" is not defined by default anymore (at least not in EPD 7.1-1)?
> Simple enough to fix in a config, but annoying nonetheless.
>    Arlindo
> --
> Arlindo da Silva
> dasilva@alum.mit.edu
> _______________________________________________
> IPython-User mailing list
> IPython-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-user

More information about the IPython-User mailing list