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 »


Copyright 1999-2023 by Refsnes Data. All Rights Reserved.