? about file() and open()

Reinhold Birkenfeld reinhold-birkenfeld-nospam at wolke7.net
Mon Jan 3 03:07:02 EST 2005

Sean wrote:
> Was wondering if there was any difference between these two functions.
> I have read some text that said file() wasn't introduced until 2.2 and
> that it was synonymous with open().  Does this mean that I should be
> using file() where I used open() before?

FYI, I submitted a patch to correct the docs:


More information about the Python-list mailing list