Obtenez toutes les fonctions à partir d'un module en tant que Liste de chaîne Python

from inspect import getmembers, isfunction

from somemodule import foo
print(getmembers(foo, isfunction))

# source
# https://stackoverflow.com/questions/139180/how-to-list-all-functions-in-a-python-module
expliked