Finding out the OS distribution name

M.-A. Lemburg mal at lemburg.com
Fri Oct 22 06:36:58 EDT 1999


Ok, here is my current version of the platform.py module. I would
appreciate any hints to make it recognize even more platforms,
distributions, OSes, etc.

Especially some code for MacOS would be nice.

	http://starship.skyport.net/~lemburg/platform.py

To see if it works on your platform, simply run the script. It will
then print something like:
	Linux-2.2.10-i586-SuSE-6.2-i386
or
	Windows-95-4.00.950

Have fun,
-- 
Marc-Andre Lemburg
______________________________________________________________________
Y2000:                                                    70 days left
Business:                                      http://www.lemburg.com/
Python Pages:                           http://www.lemburg.com/python/





More information about the Python-list mailing list