Éric Araujo <mer...@netwok.org> added the comment:

>>> list(glob.rglob('*/setu*.py'))

It looks quite strange to me that '/' should be allowed in a function that 
recurses down directories (see my messages above).  OTOH fnmatch is not really 
appropriate, contrary to my earlier feeling.

(Restoring my title change: as my messages were apparently overlooked, I assume 
that Eli did not revert my change on purpose but by replying to older email)

----------
title: Add a recursive function to the glob package -> Support recursive globs

_______________________________________
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