How to differentiate Win98 from NT ?

Matthew Russell matt at resonation.co.uk
Sat Jan 22 22:54:23 EST 2000


try :
    if os.environ['windir']=="C:\\winnt":
            # do whatever
    else:
            ....





More information about the Python-list mailing list