How to Import and Use Built-in Modules in Python


In this example, we will learn how to import and use the built-in modules in Python.

Source Code

import sys
# import and use the sys module

p = sys.platform
print(p)

Output:

win32
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
Advertisement