[Tutor] listing files in an html directory
washakie at gmail.com
Sun Apr 29 19:50:12 CEST 2007
I'm trying to write a program which will take a path, look in it for
play them. A key part of the code at this point is:
searchPath = imageRoot + '*' + imgExt
avail = glob.glob(searchPath) #will glob work over http?
where searchPath is constructed from imageRoot and imgExt which are
user input variables. I don't think glob will work over http, is there
a urllib version perhaps? Any suggestions?
More information about the Tutor