print(f) for files .. and is print % going away?

Esmail ebonak at hotmail.com
Thu Apr 30 08:34:08 EDT 2009


Hi Duncan,

Thanks for the information, I'll dig deeper :-)

(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).

Thanks again!

Esmail




More information about the Python-list mailing list