[Tutor] ok, I want to read a dir.

Danny Yoo dyoo@hkn.eecs.berkeley.edu
Wed, 26 Dec 2001 17:24:26 -0800 (PST)

On Wed, 26 Dec 2001, Kirk Bailey wrote:

> I want to read a dir. I spedify a path and a name pattern, such as
> '*.info', and read all examples of that pattern into a list.

Ah!  Take a look at the glob module:


Hope this helps!