How to know if OS is Win98 or NT ?

Richard Gruet rgruet at
Mon Mar 6 23:57:45 CET 2000

Hi everybody,

Is there a way in Python to determine if we are specifically under
Win95, Win98, or WinNT ?
sys.platform == 'win32' and == 'nt' in all cases !



More information about the Python-list mailing list