1 import os 2 3 __all__=[".".join(f.split('.')[0:-1]) for f in os.listdir(__path__[0]) if f.endswith(".py") and f != '__init__.py']