1 Jul
2011
1 Jul
'11
12:17 p.m.
Sturla Molden wrote:
Often when exploring an object with the 'dir' function, particularly in large packages like SciPy, I find that I need to filter the outout. Since a dir reminds me of a dos 'dir' or linux 'ls', a glob feels like the most natural to use.
I have added a recipe for this here: http://code.activestate.com/recipes/577774-enhancing-dir-with-globs/ Comments and improvements welcome. -- Steven