[Zope] Using Python Script as module?

Janko Hauser jhauser@ifm.uni-kiel.de
Sun, 4 Mar 2001 23:22:00 +0100 (CET)


Hello, I try to define some helper functions inside of a `Python
Script` (PS).

Simplified example:

#
def fa():
    print 'fa executed'

def fb():
    fa()

fb()
return printed
#

This does not work, as the PS itself is apparently not a module
level namespace. I can call fa() directly, although. Is there some way
to call a function defined in the PS inside another function? Is there
something like the PS namespace?

TIA,
__Janko