| Tim Golden has released his WMI module |
|
|
|
Tim Golden has released his Python WMI module. A lightweight wrapper on top of the pywin32 extensions. It saves you a lot of time when you develop for the WMI API. The module is in pure Python and should work with any version of Python from 2.1 onwards and any recent version of pywin32. Example: import wmi c = wmi.WMI() for s in c.Win32_Service(): if s.State == 'Stopped': print s.Caption, s.State |
|
| Last Updated ( Thursday, 02 February 2006 ) |
| < Prev | Next > |
|---|
Hint: For syntax highlighting and correct Python intendation place your code between html tags <pre> and </pre>.