Multiple sys.platform output on Linux Was: Re: How to detect my OS info?

Mirko Zeibig mirko-lists at zeibig.net
Wed Feb 26 03:09:41 EST 2003


Dennis Lee Bieber said the following on 02/26/2003 06:03 AM:
>>>>import sys
>>>>print sys.platform
> 
> linux-i386

On RedHat 8.0 (Python 2.2.1) and a SuSE 7.0 (2.2.1 and 1.52) I always got:
"linux2"
Is there no standard for this string?

Regards
Mirko





More information about the Python-list mailing list