Anyone know how to determine the Windows Edition ??
E.g. for both 32bit and 64bit of Windows:
– Windows XP Home/Professional
– Windows Vista Business/Ultimate…etc
– Windows 7 Home Basic/Home Premium/Professional/Ultimate…etc
I wonder if could retrieve this info from registry or Python API ??
Thanks.
If ctypes doesn’t work (due to 32 vs 64 bits?), this hack should:
Or just read the registry:
Or use this: