Le Thu, 26 Feb 2009 18:16:59 +0000 (GMT), ALAN GAULD <alan.ga...@btinternet.com> s'exprima ainsi:
> > > >> Similaraly in Alan Guald Learn to program link, he has given > > >> information on opening a file with file() and open() functions. > > > > > > And in V3 they took that back out again :-( > > > > ?? open() is in V3. file() is not. > > That's right, they have reverted to how it was in Python 1.X > I changed all my pages to use file() in v2.2 then changed them > to use a mixtyuure of file() and open() in 2.4 and now I'm changing > them all back to open() for v3! :-( > > Alan G. Does someone know why this choice has been made? After all, the result is a file object, so imo it's consistent to use file() like for any other type. Denis ------ la vita e estrany _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor