[IPython-user] from __future__ import division

Darren Dale dd55 at cornell.edu
Fri Dec 16 11:44:10 CST 2005


On Friday 16 December 2005 11:50, Harri Pasanen wrote:
> Hi,
>
> I've been looking for a way to automatically enable 3/4=0.75 style division
> in ipython, but
> so far no luck.
>
> execute from __future__ import division
>
> in ipythonrc does not do it, and to me it it looks currently impossible to
> do in general from pure python.
>
> Am I missing something, is there a way?

I would also like to know how to do this, at least for the -pylab and -p scipy 
modes. 

Darren




More information about the IPython-user mailing list