How to find out operating system

Peter Hansen peter at engcorp.com
Thu Jun 27 09:59:19 EDT 2002


David LeBlanc wrote:
> 
> You might try os.environ:
> 
> os.environ['WINOS'] -> WIN2000
> 
> I don't know if WINOS is defined on '98 or ME, but it should be good for NT,
> 2K and XP

It is not.



More information about the Python-list mailing list