[Tutor] URLLIB / GLOB

John washakie at gmail.com
Tue Oct 23 02:40:47 CEST 2007


Hello,

I would like to write a program which looks in a web directory for, say
*.gif files. Then processes those files in some manner. What I need is
something like glob which will return a directory listing of all the files
matching the search pattern (or just a simply a certain extension).

Is there a way to do this with urllib? Any other suggestions?

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20071023/b6db491c/attachment.htm 


More information about the Tutor mailing list