[Python-Dev] Re: os.path.walk() lacks 'depth first' option

Greg Ward gward@python.net
Sat, 26 Apr 2003 21:44:07 -0400


On 25 April 2003, Jeremy Fincher said:
> It's a minor quibble to be sure, but os.walk doesn't really describe what 
> exactly it's doing.  I'd suggest os.pathwalk, but that'd be too error-prone, 
> being os.path.walk without a dot.  Perhaps os.pathwalker?

os.walktree?  os.walkdirs?  os.walkpath?

(On reflection, the latter two are pretty dumb.  walktree is the right
name, undoubtedly.  ;-)

        Greg
-- 
Greg Ward <gward@python.net>                         http://www.gerg.ca/
God is omnipotent, omniscient, and omnibenevolent
---it says so right here on the label.