Answers for "using os command in python"

0

python get os

>>> import os
>>> os.name
'posix'
>>> import platform
>>> platform.system()
'Linux'
>>> platform.release()
'2.6.22-15-generic'
Posted by: Guest on July-22-2020

Code answers related to "using os command in python"

Python Answers by Framework

Browse Popular Code Answers by Language