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

alan.gauld@bt.com alan.gauld@bt.com
Thu, 27 Dec 2001 13:57:54 -0000

> 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.

Look at the glob module.

Yeah I know its a silly name and you'd never guess it, 
but its a historical Unix thing....

Alan g.