String comparison

Delaney, Timothy tdelaney at
Thu Aug 22 01:31:50 CEST 2002

postReply = urllib.urlopen("", postdata).read()
 print postReply
 f = open("D:\PythonServerMonitor\KWE1144589.dat","r")

I suspect the problem is here. You probably aren't managing to open the
file, as the string contains unescaped backslashes.

Look at section 2.4.1 String Literals in the python documentation.

Tim Delaney

More information about the Python-list mailing list