[IPython-user] from __future__ import division

Harri Pasanen hpasanen at gmail.com
Fri Dec 16 10:50:15 CST 2005


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?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/ipython-user/attachments/20051216/ee128610/attachment.html 

More information about the IPython-user mailing list