WMI in Python

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Wed Sep 15 22:23:44 EDT 2010


In message
<d8d3a07f-118c-4f8b-a6fc-f6f8762c9ab1 at x18g2000pro.googlegroups.com>, alex23 
wrote:

> However, for a quick & ready solution, have you looked at Microsoft's
> Scriptomatic?[2] It's a handy little tool that lets you specify the
> WMI query you want and produces code for you, with Python being one of
> the targets.

Why not just call Scriptomatic directly from within the Python script, then? 
Machine-generated code has no place in a source file to be maintained by a 
human.



More information about the Python-list mailing list