Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

check os python

>>> import platform
>>> platform.system()
'Windows'
>>> platform.release()
'XP'
>>> platform.version()
'5.1.2600'
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #os #python
ADD COMMENT
Topic
Name
8+3 =