Why would I learn Python over other languages?
onurb at xiludom.gro
Tue Jul 13 21:59:46 CEST 2004
Nick Smallbone a écrit :
> "bruno modulix" <onurb at xiludom.gro> wrote in message
> news:40edc84f$0$20016$636a15ce at news.free.fr...
>>The same in Python
>> for line in File("mytext.txt"):
>> print line
>>except IOError, e:
>> print "Erreur", e
> Umm, that won't work. Should be file instead of File.
woops ! You're of course right.
More information about the Python-list