[python-win32] GetWindowsVersion on Longhorn

Michel Claveau mc at mclaveau.com
Fri Feb 6 14:11:46 CET 2009


Hi!


>>> win32api.GetVersionEx(1)
>>>(6, 0, 6001, 2, 'Service Pack 1', 1, 0, 256, 1, 30)
>>>
>>> on 2008:
>>> (6, 0, 6001, 2, 'Service Pack 1', 1, 0, 274, 2, 30)


And, on Seven (for collectors): 
   print win32api.GetVersionEx(1)
   > (6, 1, 7000, 2, '', 0, 0, 256, 1, 0)


@-salutations
-- 
Michel Claveau 




More information about the python-win32 mailing list