PRE-PEP: new Path class
Gerrit Holl
gerrit at nl.linux.org
Tue Jan 6 14:04:39 EST 2004
Mike C. Fletcher wrote:
> >9) Current OS constants?
> >
> >What are they? Are we talking about the four
> >constants in the access() function, or about something
> >else?
> >
> >
> Don't know myself.
I meant os.path constants: curdir, pathsep, defpath, etc.
They should be included.
> >use the visitor pattern directly, with different method
> >names for files, directories and whatever else a
> >particular file system has in it's warped little mind.
> >
> >
> Reworking walk is probably a good idea. I'll let others worry about it,
> as I've re-implemented the functionality so many times for my own code
> that I'm just sick of it :) .
I think os.walk is good as it is.
yours,
Gerrit.
--
34. If a ... or a ... harm the property of a captain, injure the
captain, or take away from the captain a gift presented to him by the
king, then the ... or ... shall be put to death.
-- 1780 BC, Hammurabi, Code of Law
--
Asperger's Syndrome - a personal approach:
http://people.nl.linux.org/~gerrit/english/
More information about the Python-list
mailing list