[Tutor] from __future__ import division

Dinesh B Vadhia dineshbvadhia at hotmail.com
Sun Mar 23 12:15:03 CET 2008

I spent fruitless hours trying to get a (normal) division x/y to work and then saw that you have to declare:

> from __future__ import division

.. at the top of a module file.  What is this all about?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20080323/15ca9c6f/attachment.htm 

More information about the Tutor mailing list