4 Mar
2001
4 Mar
'01
3:51 p.m.
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?
I haven't played with python scripts too much but with python methods you would have to declare your functions as global so def fa(): pass def fb(): global fa fa() hth kapil