Re: loading a url using urllib2

2007-03-30 Thread Kushal Kumaran
On Mar 31, 7:21 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I have the following code to load a url (address). > > When I have a url like this, > > http://www.testcom.co.uk/dev_12345/www.cnn.com > > i get an error "Failed to openhttp://www.testcom.co.uk/dev_12345/www.cnn.com";. > Is there

loading a url using urllib2

2007-03-30 Thread [EMAIL PROTECTED]
I have the following code to load a url (address). When I have a url like this, http://www.testcom.co.uk/dev_12345/www.cnn.com i get an error "Failed to open http://www.testcom.co.uk/dev_12345/www.cnn.com";. Is there something wrong with my URL? or something wrong with my code? Thank you for an