In message <d8d3a07f-118c-4f8b-a6fc-f6f8762c9...@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. -- http://mail.python.org/mailman/listinfo/python-list