On Wed, 08 Aug 2007 17:11:19 +0200, stef mientki wrote: > Now it's not possible to import in the existing modules the main plugin, > like > from Main_User import * > because this will start the infinite loop.
Which means there's code at the module level. Tell the users to put that into a function, then you can import the module without executing this main loop. And don't do a * import because your users might use names that the importing module uses already and which would get replaced by the * import. > Is there a way of getting the list of collected globals from Main_User > to the existing modules, > without the standard import statement shown above ? No. In order to get them the module must be imported. Otherwise the names and the objects they refer to don't exist. -- http://mail.python.org/mailman/listinfo/python-list