[Tutor] can I walk or glob a website?

Alan Gauld alan.gauld at btinternet.com
Wed May 18 11:18:20 CEST 2011


"Albert-Jan Roskam" <fomcl at yahoo.com> wrote 

> How can I walk (as in os.walk) or glob a website? 

I don't think there is a way to do that via the web.
Of course if you have access to the web servers filesystem 
you can use os.walk to do it as for any other filesystem, 
but I don't think its generally possible over http. (And 
indeed it shouldn''t be for very good security reasons!)

OTOH I've been wrong before! :-)

-- 
Alan Gauld
Author of the Learn to Program web site
http://www.alan-g.me.uk/




More information about the Tutor mailing list