NT Service and -OO option ???

Sylwia lubowiecka at go2.pl
Tue May 4 07:19:58 EDT 2004


Hi!

I have the following problem and I need Your advice.

I implement Windows NT service using Mark Hammond's win32 extensions. 
I have 3 files in my service's folder:

exampleservice.py 
exampleservice.pyc
exampleservice.pyo

At the customer the companies usually want to deliver ONLY pyo files. 

Thus the NT service written in Python should be able to run without
the exampleservice.py and the exampleservice.pyc files, but of course
after deletion of those 2 files, the start of the created
exampleservice fails.
Is it possible to start the winservice with the -OO option? If yes,
how can I do it?

Thank You in advance for any hints.

Best Regards,

Niki



More information about the Python-list mailing list