[Python-ideas] find-like functionality in pathlib

Chris Barker - NOAA Federal chris.barker at noaa.gov
Tue Jan 5 11:37:54 EST 2016


> Note that the PEP doesn't mention rglob() -- why do we even have it? It seems rglob(pat) is exactly the same as glob('**/' + path) (assuming os.sep is '/'). No TOOWTDI here?

Much as I believe in TOOWTDI, I like having rglob(). "**/" is the kind
of magic a newbie ( like me :-) ) would have research and understand.

-CHB


More information about the Python-ideas mailing list