import statement inside External Methods
Hi I have problems importing Python modules in External Methods. Here's the situation: My External Method (inside the Extensions-directory) imports a modules from a different than the Extensions directory, which works fine. However, accessing methods and variables inside the imported module doesn't work. The funny thing is, that some methods/variables can be accessed, others not. Is it possible that Zope keeps a copy of the imported module so that I can just access an old version of my imported module? (I always "uploaded" ("Save changes"-button on the management screen of my External Method) my external method when I changed something in my imported module) One dirty hack around this is to rename my imported module when a change of that module occured. Please help, I lost one day finding out about this odd behaviour. Is it a bug? Regards, Marc
participants (1)
-
Marc O. Sandlus