Esmail <ebo...@hotmail.com> wrote: > (for some reason I can't get the from __future__ import > to work, > > >>> from __future__ import print_function > File "<stdin>", line 1 > > SyntaxError: future feature print_function is not defined > > but I am probably making some silly mistake, plus > I have been meaning to find out more about this too, so > this is a good chance to learn something new). > You can only use the print function on 2.6 and later. If you have an older version of Python then you'll get that error.
-- Duncan Booth http://kupuguy.blogspot.com -- http://mail.python.org/mailman/listinfo/python-list