__init__.py (245B)
1 #Dynamically imports all files in this directory 2 import os 3 for module in os.listdir(os.path.dirname(__file__)): 4 if module == '__init__.py' or module[-3:] != '.py': 5 continue 6 __import__(module[:-3], locals(), globals()) 7 del module