>>> import glob
>>> glob.glob('src/*.properties')
['src\\jdbc.properties', 'src\\jdbc_local.properties', 'src\\jdbc_qa.properties', 'src\\jdbc_test.properties', 'src\\log4j.jnlp.properties', 'src\\log4j.properties', 'src\\version.properties']
Kent
Nandan wrote:
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
_______________________________________________ Tutor maillist - [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/tutor