[Tutor] os.listdir fn

Nandan bagchee at cse.ohio-state.edu
Fri Dec 10 19:17:20 CET 2004


Hello

I need to get the equivalent of 'ls script.icons/*.script'
I looked around in the os module but can't find anything appropriate.

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?

Thanks,
N

-- 
Nandan Bagchee


Patriots don't use Linux.

		-- c.o.l.a



More information about the Tutor mailing list