import imp print("Location of Python os module sources:") print(imp.find_module('os')) print(" Location of Python time module sources:") print(imp.find_module('time'))