The snippet below causes an attribute error. AttributeError: module 'urllib' has no attribute 'urlopen'
I am using python 2.2.3. According to the documentation at C: \Python22\Doc\lib urllib has a function called urlopen. #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ import urllib class login(CompactTest): # Recorded test actions. def runTest(self): f = urllib.urlopen("http://www.python.org/") f.read() -- http://mail.python.org/mailman/listinfo/python-list