print(f) for files .. and is print % going away?
ebonak at hotmail.com
Thu Apr 30 14:58:12 CEST 2009
Duncan Booth wrote:
> Esmail <ebonak at hotmail.com> wrote:
>> (for some reason I can't get the from __future__ import
>> to work,
> 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.
Ooops, yes, you wrote that and I tried with 2.6 under Windows
(my Ubuntu has 2.5) .. I must have typed something wrong when I
tried this with 2.6 because it's working fine now :-)
Thanks again Duncan,
More information about the Python-list