Archive for December, 2008

So I was just browsing some code, and I came across a cool module I’d never seen before: glob. Basically, it has two functions that either return a list or an iterator of files in a directory using shell pattern matching. So, for example, to return a list of all jpg files in a directory: […]