
Jan. 14, 2013
9:15 p.m.
On Tue, Jan 15, 2013 at 6:03 AM, Bruce Leban <bruce@leapyear.org> wrote:
[...] and iglob to ignore case and [....]
OT - iglob is the iterator version of glob. perhaps in python 2 this should have been called "xglob". In python 3 it should have been just "glob".
rglob('**.py')
or
glob('**.py', True)
I don't mind either, though I think the first one is a bit clearer because "r" is more telling than "True". Don't mention glob('**.py', allow_recursive=True) because that's probably not going to be the norm. Yuval