Finding out the OS distribution name

M.-A. Lemburg mal at lemburg.com
Thu Oct 21 04:41:02 EDT 1999


Is there a way to find out the name of the OS distribution a script is
running on ?

E.g. I'd like a function that returns 'Redhat6.1'/'SuSE6.2' or
'Win95'/'Win98'/'WinNT' or 'MacOS8'/'MacOS9' etc.

-- 
Marc-Andre Lemburg
______________________________________________________________________
Y2000:                                                    71 days left
Business:                                      http://www.lemburg.com/
Python Pages:                           http://www.lemburg.com/python/






More information about the Python-list mailing list