altering an object as you iterate over it?
Bruno Desthuilliers
bdesth.quelquechose at free.quelquepart.fr
Fri May 19 22:53:45 EDT 2006
John Salerno a écrit :
> Paul McGuire wrote:
>
>> Your coding style is a little dated - are you using an old version of
>> Python? This style is the old-fashioned way:
>
>
> I'm sure it has more to do with the fact that I'm new to Python, but
> what is old-fashioned about open()?
It has been, at a time, recommended to use file() instead of open().
Don't worry, open() is ok - and I guess almost anyone uses it.
More information about the Python-list
mailing list