import from future

Dan Bishop danb_83 at yahoo.com
Mon Jan 29 00:43:12 EST 2007


On Jan 28, 1:25 am, "lee" <libi... at gmail.com> wrote:
> what are the things that we can do with import from future usage.....i
> heard its very interesting......thanks

Now that nested_scopes and generators are no longer optional, the only 
thing left is "from __future__ import division", which makes the "/" 
operator on integers give the same result as for floats.




More information about the Python-list mailing list