Check a windows service

Tim Golden tjgolden at gmail.com
Tue Jan 16 12:09:34 EST 2007


awel wrote:

> I'm new in python and I would like to know if it's possible to check if
> a specific windows service is present and if it's possible how can I
> do?

This is one way:

http://tgolden.sc.sabren.com/python/wmi_cookbook.html#automatic_services

You'd have to change that example slightly, but I
hope the principal is clear enough. If not, ask again.

TJG




More information about the Python-list mailing list