30 Mar
2002
30 Mar
'02
9:11 p.m.
I'm trying to do a simple thing: import urllib f = urllib.urlopen('http://www.somesite.com') lines = f.readlines() I followed the instructions in PythonScripts/README.txt on how to allow other modules to be imported by python scripts, and indeed the urllib.urlopen works. However, the f.readlines() fails, claiming I don't have permission. The python documentation says that urllopen() returns a 'file-like' object, without actually telling me the type. How do I allow this simple call? TIA, Colin -- Colin Fox cfox@crystalcherry.com CF Consulting Inc. GPG Fingerprint: D8F0 84E7 E7CC 5C6C 9982 F1A7 A3EB 6EA3 BC97 572F