[python-win32] Re: wmi + pythonservice : multithreading issue s

Aloys Baillet aloys at alamaison.fr
Wed Sep 1 10:02:10 CEST 2004


Hello Thomas,
I actualy do it that way!
For my service, I run the same code in a command prompt, and when 
everything is fine, I build the service with py2exe.
Unless you mean building the service with pywin32, test it, and finally 
build the py2exe service? That's a longer way...

Thomas Heller wrote:
> Aloys Baillet <aloys at alamaison.fr> writes:
> 
> 
>>And finally, for the service, I didn't try with the pywin32 service, and
>>I totally believe you if you say it works. I just forgot to say that I
>>use the py2exe module to generate my service, and I did get the same
>>error with it... I will try with the CoInitialize to see if it works!
> 
> 
> py2exe makes it easy (I believe ;) to create an executable, but you
> should only make an exe after you are absolutely sure that you code
> works in Python as expected.
> 
> Thomas



More information about the Python-win32 mailing list