Re: Urlnames in urllib2

2006-10-04 Thread Gabriel Genellina
At Wednesday 4/10/2006 21:03, goyatlah wrote: I'm trying to figure out how to get the exact opened url after a urlopen in urllib2. Say you have a link : http://myhost/mypath : what do I get back, - the file mypath on myhost - the file index.html on myhost/mypath, - or maybe something else. You

Urlnames in urllib2

2006-10-04 Thread goyatlah
I'm trying to figure out how to get the exact opened url after a urlopen in urllib2. Say you have a link : http://myhost/mypath : what do I get back, - the file mypath on myhost - the file index.html on myhost/mypath, - or maybe something else. Snd what about the following: http;//myhost/index.htm