Write a Python program to find the location of Python module sources.
1 2 3 4 5 |
import imp print("Location of Python os module sources:") print(imp.find_module('os')) print("\nLocation of Python sys module sources:") print(imp.find_module('datetime')) |