Get the name of my computer OS in Python
You can get the name of your computer OS in Python.
import sys
p = sys.platform
print(p) # darwin
The platform name of MacOS is darwin
.
You can get the name of your computer OS in Python.
import sys
p = sys.platform
print(p) # darwin
The platform name of MacOS is darwin
.
Calculator
Chart
Tools
Statistics
Articles