[Python-talk] recognizing XP systems

Ray Cote rgacote at AppropriateSolutions.com
Mon Apr 17 17:07:13 EDT 2006


>('Microsoft', 'vm2k3', 'Windows', '5.2.3790', '', '')
>
>[1] is the machine name.  Maybe [3] is reliable?
I'd have to dig into some Knowledgebase, but I'm fairly sure the 
first two digits of the OS version are a reliable indicator of the OS.

Note, in your example, that Win 2003 (I assume Server) has a later 
version than XP.

-- 

Raymond Cote
Appropriate Solutions, Inc.
PO Box 458 ~ Peterborough, NH 03458-0458
Phone: 603.924.6079 ~ Fax: 603.924.8668
rgacote(at)AppropriateSolutions.com
www.AppropriateSolutions.com


More information about the Python-talk mailing list