[Zope] Can't open file via Python
Dieter Maurer
dieter@handshake.de
Fri, 30 Mar 2001 20:52:03 +0200 (CEST)
Geoff Armstrong writes:
> --============_-1226266739==_ma============
> Content-Type: text/plain; charset="us-ascii" ; format="flowed"
Please do not send MIME messages!
> data = open(file, 'r')
> return data
>
>
> ....and I get this result:
>
>
> Error Type: NameError
> Error Value: open
This is normal in a Python Script.
I cannot believe that it happens in an External Method, too.
They are completely unrestricted...
Or, to say it differently: I use "open" in External Methods
over and over again without any problem.
Dieter