[Zope] Globals

Dieter Maurer dieter@handshake.de
Fri, 2 Aug 2002 23:06:15 +0200


Bo M. Maryniuck writes:
 > How to get globals() from PythonScript in Zope? -- Error Value: global name 
 > 'globals' is not defined.
 > 
 > I've tried:
 > context.globals().get('something')
 > 
 > Also how to dir() in PythonScript?
I fear, it will not work.

   PythonScripts do not live in a real module.


Dieter