PRE-PEP: new Path class
gerrit at nl.linux.org
Tue Jan 6 20:04:39 CET 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
> 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.
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:
More information about the Python-list