Re: ? about file() and open()

From: Reinhold Birkenfeld (reinhold-birkenfeld-nospam_at_wolke7.net)
Date: 01/03/05


Date: Mon, 03 Jan 2005 09:07:02 +0100

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:
http://www.python.org/sf/1094011

Reinhold