file bug???

Andrew Bennetts andrew-pythonlist at puzzling.org
Fri Nov 21 16:44:25 CET 2003


(please don't top-post)

> > It does exist in Python 2.3, and it does take one argument (and optionally
> > others):
> > 
> >     http://python.org/doc/lib/os-file-dir.html#l2h-1473

> It does not exist in Python 2.2, AFAIK.
> It is a good idea to write code that at least works for
> one previous Python version, hence the comment.

You should have said so in the first place -- explicit is better than
implicit :)

-Andrew.






More information about the Python-list mailing list