print([x for x in list(globals().values()) if isinstance(x, FunctionType)])
print([x for x in list(globals().keys()) if isinstance(globals()[x], FunctionType)])
Finding All Defined Functions in Python Environment