using urlretrive/urlopen

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Sat May 16 03:30:01 CEST 2009


En Fri, 15 May 2009 12:03:09 -0300, Rustom Mody <rustompmody at gmail.com>  
escribió:

> I am trying to talk to a server that runs on localhost
> The server runs on http://localhost:7000/ and that opens alright in  a
> web browser.
>
> However if I use urlopen or urlretrieve what I get is this 'file' --
> obviously not the one that the browser gets:
>
> <html><body bgcolor="#ffffff">
> Query 'http://localhost:7000/' not implemented
> </body></html>
> Any tips/clues?

Please post the code you're using to access the server.
Do you have any proxy set up?

-- 
Gabriel Genellina




More information about the Python-list mailing list