Finding Default Page Name using urllib2

Méta-MCI (MVP) enleverlesX.XmcX at XmclaveauX.com
Mon Oct 27 14:06:29 EDT 2008


Hi!

> Can I do this in python?

No.
The "default page" is a property of the web-server ; and it is not 
client side.
Examples :
  for Apache, it's  index.html or index.htm ; but if PHP is installed, 
index.php is also possible.
  for APS, it's  init.htm   (between others possibilites).
  etc.

@-salutations
-- 
Michel Claveau






More information about the Python-list mailing list