Re: [python-win32] GetWindowsVersion on Longhorn

2009-02-06 Thread Michel Claveau
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

Re: [python-win32] GetWindowsVersion on Longhorn

2009-02-05 Thread Mark Hammond
On 23/01/2009 11:40 AM, Matt Herbert (matherbe) wrote: Hey all, Just wondering if there is a way to differentiate Windows Server 2008 from Windows Vista? All the normal methods I would use aren't cutting it. For instance, sys.getwindowsversion() and platform.uname() are returning exactly the

Re: [python-win32] GetWindowsVersion on Longhorn

2009-01-22 Thread Tim Roberts
Matt Herbert (matherbe) wrote: Just wondering if there is a way to differentiate Windows Server 2008 from Windows Vista? All the normal methods I would use aren't cutting it. For instance, sys.getwindowsversion() and platform.uname() are returning exactly the same thing for Vista and Windows