Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python os.name mac

>>> import os
>>> os.name
'posix'
>>> import platform
>>> platform.system()
'Linux'
>>> platform.release()
'2.6.22-15-generic'
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #mac
ADD COMMENT
Topic
Name
2+4 =