Python Built-in Modules
Built-in Modules
There are several built-in modules in Python, which you can import whenever you like.
Example
Import and use the platform
module:
import platform
x = platform.system()
print(x)
Try it Yourself »
There are several built-in modules in Python, which you can import whenever you like.
Import and use the platform
module:
import platform
x = platform.system()
print(x)
Try it Yourself »
If you want to report an error, or if you want to make a suggestion, do not hesitate to send us an e-mail:
help@w3schools.com
Your message has been sent to W3Schools.