24 Jan
2006
24 Jan
'06
9:18 p.m.
Good stuff. Some suggestions:
def joinpath(self, *args): ...
I suggest append() or extend() as join*() sort of suggest join() as provided by strings, which does something quite different
def splitall(self): ...
and this may renamed split(), as it is quite similar to split() as provided by strings
# Properties about the path. parent, name, namebase, ext, drive, uncshare[1]
so we can drop basename(), dirname(), splitdrive(), and splitext()
def dirs(self, pattern = None): ... def files(self, pattern = None): ...
can we add others()? (sockets, pipes, block and character devices) --eric