Re: Running WMI within a Windows service

2005-06-22 Thread cameron . mccloud
Tim, Changing the path didn't do anything, but changing the name of the module to my_wmi did the trick. Thanks very much, Cam. Tim Golden wrote: [EMAIL PROTECTED] | Hi, | | When trying to import the WMI module in a Python Windows | Service, I get | the following: | | dynamic module

Running WMI within a Windows service

2005-06-21 Thread cameron . mccloud
Hi, When trying to import the WMI module in a Python Windows Service, I get the following: dynamic module does not define init function (initwmi) The WMI version is 0.6. Python 2.4 on Win32, Python Win32 extensions version 203 Code below, Cam. def SvcDoRun(self): import