xxxxxxxxxx
result=[]
your_module = ?
for i in dir(your_module):
if type(getattr(your_module, i)).__name__ == "function":
result.append(getattr(your_module, i))
print(result)
xxxxxxxxxx
import imp
print("Location of Python os module sources:")
print(imp.find_module('os'))
print("\nLocation of Python time module sources:")
print(imp.find_module('time'))