pytron-web/pytron_run/ai_manager/__init__.py

5 lines
178 B
Python
Raw Normal View History

2019-03-26 11:27:01 +01:00
from os.path import dirname, basename, isfile
import glob
modules = glob.glob(dirname(__file__)+"/*/ai.py")
__all__ = ['.'.join(f.split('.')[:-1]) for f in modules if isfile(f)]