python import os. code example
Example 1: python os module
#the os module provides an operating system interface from Python
import os
#prints the name of the operating system
print(os.name)
#prints the absolute path for the module
print(os.getcwd())
Example 2: import os python
import os
os.listdir("*\")[0]