urllib and httplib wan to use my modem instead of the ethernet

Oleg Broytmann phd at phd.pp.ru
Sun Dec 9 11:05:00 CET 2001


On Sat, Dec 08, 2001 at 05:12:10PM -0800, Alex wrote:
> url="http:\\www.org.python\index.htm"

   You did two errors here. First, this is wrong syntx for an URL: URLs
uses slashes /, not backslshes \. Damn M$ tricked you.
   Alose please understand that Python compiles this into a different
string, because \chr is a specil sequence in Python.

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            phd at phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.




More information about the Python-list mailing list