Is there any way I can get all of the functions of a module so I can call them?
If I say:
m.py:
__all__ = ['Bark']
def Bark():
print('Bark')
main.py:
import m
for f in m.__all__:
print(m.f)
I get an AttributeError: module 'm' has no attribute 'f'.
How can I get it to print
function Bark at 0x000000?