Finding out the OS distribution name

Adrian Eyre a.eyre at optichrome.com
Thu Oct 21 11:32:54 EDT 1999


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

I think the closest there is to this is sys.platform

--------------------------------------------
Adrian Eyre <mailto:a.eyre at optichrome.com>
Optichrome Computer Solutions Ltd
Maybury Road, Woking, Surrey, GU21 5HX, UK
Tel: +44 1483 740 233  Fax: +44 1483 760 644
http://www.optichrome.com 
--------------------------------------------





More information about the Python-list mailing list