[python-win32] Detect whether a workstation is a laptop or desktop/server?

python at bdurham.com python at bdurham.com
Sat Mar 6 16:00:28 CET 2010


Hi Roberto. 

> I assume you could categorize a computer as a laptop or desktop once you knew the machine's make an model.  

Unfortunately, we're a start-up company with an entirely random mix of
computers from what seems like every vendor possible. I'm not sure where
I would find a database for some of the machines we have.

I'm hoping that there's a WMI property that allows me to distinguish
between a laptop battery and an external UPS. (I've been looking, but my
google-fu is failing me).

Thanks for your help,

Regards,
Malcolm


More information about the python-win32 mailing list