Get directory from http web site

Sybren Stuvel sybrenUSE at YOURthirdtower.com.imagination
Fri Jul 22 08:17:20 EDT 2005


rock69 enlightened us with:
> I was wondering if there's some neat and easy way to get the entire
> contents of a directory at a specific web url address. [...] Is it
> possible to retrieve this list (not the physical files) and have it
> stored in a variable of type list or something?

Check out the chapter on HTML parsing at
http://www.diveintopython.org/

Sybren
-- 
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself? 
                                             Frank Zappa



More information about the Python-list mailing list