How to differentiate Win98 from NT ?

Svante Kleist Svante.Kleist at edt.ericsson.se
Thu Jan 27 07:49:31 EST 2000


Not very solid, I'd say. In my case, NT lives in D:\nt40

/ Svante

In article <86du41$lv0$1 at gxsn.com>, matt at resonation.co.uk says...
> try :
>     if os.environ['windir']=="C:\\winnt":
>             # do whatever
>     else:
>             ....
> 
> 
> 



More information about the Python-list mailing list