Re: [python-win32] SystemError: Parent module '__ax_main__' not loaded

2010-08-19 Thread Marc-Andre Belzile
-Original Message- From: Mark Hammond [mailto:skippy.hamm...@gmail.com] Sent: Monday, August 16, 2010 11:40 PM To: Marc-Andre Belzile Cc: python-win32@python.org Subject: Re: [python-win32] SystemError: Parent module '__ax_main__' not loaded On 11/08/2010 5:38 AM, Marc-Andre Belzile

Re: [python-win32] SystemError: Parent module '__ax_main__' not loaded

2010-08-16 Thread Mark Hammond
On 11/08/2010 5:38 AM, Marc-Andre Belzile wrote: Hi, I'm using the Python ActiveX Scripting engine and I'm trying to set some global variables in the engine global space before parsing some .py files. I use this function to set the variables: def set_global_vars(fullpath ): import os

[python-win32] SystemError: Parent module '__ax_main__' not loaded

2010-08-10 Thread Marc-Andre Belzile
Hi, I'm using the Python ActiveX Scripting engine and I'm trying to set some global variables in the engine global space before parsing some .py files. I use this function to set the variables: def set_global_vars(fullpath ): import os globals()['__path__'] =