[python-win32] Detect whether a workstation is a laptop or desktop/server?
Steven James
steven.james at gmail.com
Sat Mar 6 16:17:43 CET 2010
Not sure exactly, but perhaps you could distinguish whether the battery is
connected via USB or some other transport method? Looking through the device
manager there seem to be some fields that might be relevant. As a network
admin, I've used a free software called Spiceworks in the past that scans
our network and classifies machines. Does a decent job and seems to use the
model-database technique.
Other ways might be...does the machine have a PCMCIA slot? does it have
built-in wifi/bluetooth? A 5400RPM hard drive? These aren't assurances, but
they point to laptops.
Well I think that's every way possible of not answering your question. Sorry
=).
SJ
On Sat, Mar 6, 2010 at 10:00 AM, <python at bdurham.com> wrote:
> 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
> _______________________________________________
> python-win32 mailing list
> python-win32 at python.org
> http://mail.python.org/mailman/listinfo/python-win32
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20100306/61035547/attachment.html>
More information about the python-win32
mailing list