While googleing for an answer I came across this thread...
http://www.daniweb.com/forums/thread55451.html
...which is pretty much my question, but I would be doing it in web directories. Would I need to connect with something like urlib2 and then try the os and glob examples.
Maybe an example please? :D
Thanks.