[Tutor] os.listdir fn

Alan Gauld alan.gauld at freenet.co.uk
Sat Dec 11 01:01:05 CET 2004


> That is, filename globbing doesn't seem to work. Looks like I'll
have to
> use map/filter to do this.  Is there a better way?

It does if you use the glob module :-)

Python, with batteries included.
But sometimes finding the right battery can be challenging...

Alan G.

>
> Thanks,
> N
>
> -- 
> Nandan Bagchee
>
>
> Patriots don't use Linux.
>
> -- c.o.l.a
>
>
>



More information about the Tutor mailing list