python os name mac

Solutions on MaxInterview for python os name mac by the best coders in the world

showing results for - "python os name mac"
Mía
17 Apr 2019
1>>> import os
2>>> os.name
3'posix'
4>>> import platform
5>>> platform.system()
6'Linux'
7>>> platform.release()
8'2.6.22-15-generic'