Fouff wrote:

> I have a small question concerning the functions open(...) and file(...)
> with python 2.4

>> The intent is for open() to continue to be preferred for use as a factory
>> function which returns a new file object.

versus

>> The previous spelling, open(), is retained for compatibility, and is an
>> alias for file().

> what is the favorite function you recommend me to use ?

The former has BDFL blessing. Let Guido speak:

http://mail.python.org/pipermail/python-dev/2004-July/045921.html

Peter
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to