DO NOT USE file() (was Re: altering an object as you iterate over it?)
johnjsal at NOSPAMgmail.com
Sat May 20 06:34:10 CEST 2006
Tim Peters wrote:
> [John Salerno, on the difference between `open` and `file`]
>> Interesting. What is the difference between them now?
> In 2.5 `file` is unchanged but `open` becomes a function:
> <type 'file'>
> <built-in function open>
So they are still used in the same way though?
More information about the Python-list