import platform
platform.mac_ver()
('10.5.8', ('', '', ''), 'i386')
platform.version()
'Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386'
platform.platform()
'Darwin-9.8.0-i386-32bit'
platform.system()
'Darwin'