[Jeremy Fincher] > 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? [Greg Ward] > os.walktree? os.walkdirs? os.walkpath? > > (On reflection, the latter two are pretty dumb. walktree is the right > name, undoubtedly. ;-) I don't expect any short name to describe exactly what a thing does, and don't worry about it. math.sin() isn't about lust in your heart, or math.tan() about practicing safe sunning either. Guido has his own inscrutable criteria for picking names. Mine is whether, *after* I know what a thing does, it's hard to forget what the name means. "walk" passed that test for me, and better than Python or Java did <wink>.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4