Yuval Greenfield <ubershme...@gmail.com> added the comment:

I noticed this implementation on PyPI http://packages.python.org/rglob/ which 
sort of has rglob defined as

    def rglob(pattern, base='.'):

Which seems like the most comprehensible way of doing this, though not the most 
compact.

The code itself isn't in the best shape 
http://cpiekarski.com/2011/09/23/python-recursive-glob/ eg it uses list 
comprehensions instead of generators. But I think I like this API better as it 
really is easier to explain.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13968>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to