pytron-web/pytron_run/ai_manager/__init__.py

5 lines
178 B
Python

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)]