How to get Windows system information?

Martin P. Hellwig mhellwig at
Fri Jan 13 02:42:20 EST 2006

dpickles at wrote:
> Does anybody know how to get the:
>      Free hard disk space
>      Amount of CPU load
>      and Amount of RAM used
> on windows? I am making an artificial intelligence program that has
> "moods" based on how much stress the system is under, based on these
> parameters. I think it could possibly be done via COM. I am not looking
> for a cross-platform solution- just something that will work on
> Windows. Thank you for your help!

Have a look at WMI* , it's specifically designed to getthat kind of 
stuff, there is also a python layer for WMI**.




More information about the Python-list mailing list