[Tutor] Having Python check a program in win32.
Tim Golden
mail at timgolden.me.uk
Mon Sep 8 21:31:39 CEST 2008
Rick Rune wrote:
> I'm looking to create a Python timed infinite loop (run foo, wait 1min,
> run foo) that will monitor if a particular program is running under
> Win32, and if it is not running to execute it. Can someone point me in
> the right direction to look?
WMI. Example of sort here:
http://timgolden.me.uk/python/wmi_cookbook.html#watch_notepad
tho' you'll need to adjust it to meet your needs.
TJG
More information about the Tutor
mailing list