Cool thanks a lot. Always wanted to use win32api module too.
"Tony Meyer" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>> Is there any other way
>> of distinguishing between XP and 2000 I wonder?
>
> WinXP SP2:
>
import win32api
major, minor, spack, platform, ver_str = win
If Cary Grant's ghost was into Python and saw this good info, he'd say:
"That's just ducky."
But he's probably not.
Ok Thanks Tony - I've always wanted to try out win32api module. Just what I
need.
"Tony Meyer" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>> Is there any other w
> Is there any other way
> of distinguishing between XP and 2000 I wonder?
WinXP SP2:
>>> import win32api
>>> major, minor, spack, platform, ver_str = win32api.GetVersionEx()
>>> print major, minor, spack, platform, ver_str
5 1 2600 2 Service Pack 2
WinNT SP4:
>>> import win32api
>>> major, min