No module named urllib

HMS Surprise john at datavoiceint.com
Mon May 7 19:24:40 EDT 2007


Since sys.path = ['.', 'C:\\maxq\\lib\\Lib', 'C:\\maxq\\jython'] I
copied urllib to c:\maxq\lib\Lib.

Now I get the error -

Traceback (innermost last):
  File "<string>", line 5, in ?
  File "C:\maxq\lib\Lib\urllib.py", line 1148
	_hextochr = dict(('%02x' % i, chr(i)) for i in range(256))
	                                      ^
SyntaxError: invalid syntax






More information about the Python-list mailing list