another newbie question

David bouncingcats at gmail.com
Sun Nov 14 16:09:47 CET 2010


On 15/11/2010, otenki <scott.stephens.j at gmail.com> wrote:
> When I enter 'from _future_ import division' at the command
> line, I get the ImportError, no module named _future_.

The module name is "__future__"

Notice that there are 2 underscore characters before the word "future"
and 2 after it. This is a common convention in python.



More information about the Python-list mailing list