> from future import division > > or invoke python as > > python -Qnew foo.py > > the -Qnew option works, but the import does not: > > ImportError: No module named future it's from __future__ import division note the two underlines on both sides of 'future'. (If the underlines are missing in the book, it's most likely a typo.) Abel Daniel