How to know if OS is Win98 or NT ?
Emile van Sebille
emile at fenx.com
Mon Mar 6 20:47:40 EST 2000
Take a look at http://starship.skyport.net/~lemburg/platform.py
Emile van Sebille
emile at fenx.com
-------------------
----- Original Message -----
From: Richard Gruet <rgruet at ina.fr>
Newsgroups: comp.lang.python
To: <python-list at python.org>
Sent: Monday, March 06, 2000 2:57 PM
Subject: How to know if OS is Win98 or NT ?
> Hi everybody,
>
> Is there a way in Python to determine if we are specifically under
> Win95, Win98, or WinNT ?
> sys.platform == 'win32' and os.name == 'nt' in all cases !
>
> Thanks,
>
> Richard
>
> --
> http://www.python.org/mailman/listinfo/python-list
>
>
More information about the Python-list
mailing list