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
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
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