Colin Fox <cfox@crystalcherry.com> wrote, in part:
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?
One is not permitted the use of arbitrary modules from within a PythonScript. However, you can do this kind of thing in an "External Method". I would write more if I knew more. :o) Bill ------------ "It is the time that you have wasted for your rose that makes your rose so important."--St-Exupery