[IPython-User] print "autocall" in Python 3

Aaron Meurer asmeurer@gmail....
Mon Feb 25 17:34:43 CST 2013


In case anyone is interested:
https://github.com/asmeurer/dotfiles/blob/master/.ipython/profile_default/startup/print_magic.py

Aaron Meurer

On Mon, Feb 25, 2013 at 4:27 PM, Thomas Kluyver <takowl@gmail.com> wrote:
> On 25 February 2013 23:01, Aaron Meurer <asmeurer@gmail.com> wrote:
>>
>> Oh, I guess I misunderstood the API.  What is the proper way to do that?
>
>
> Off the top of my head, something like:
>
> builtins.print(ip.ev(line))
>
> If you want it to handle multiple arguments, you'll need a bit more code to
> deal with that.
>
> Thomas
>
> _______________________________________________
> IPython-User mailing list
> IPython-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-user
>


More information about the IPython-User mailing list