Yuval Greenfield <[email protected]> added the comment:
I'd say it's very close to a duplicate but maybe isn't so. If walkdir is added
then rglob can be implemented using it.
I'd say "rglob" to "walkdir" is like "urlopen" to "http.client". One is the
stupid and simple function (that still has a bazillion use cases) and the other
is the heavy lifting swiss army knife.
"file_paths(filtered_walk('.', included_files=['*.py']))" is a lot longer than
"rglob('*.py')".
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue13968>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com