5 lines
223 B
Python
5 lines
223 B
Python
import os, glob
|
|
from os.path import dirname, basename, isfile, join
|
|
|
|
modules = glob.glob(os.path.join(dirname(__file__), '*.py'))
|
|
__all__ = [ basename(f)[:-3] for f in modules if isfile(f) and not f.endswith('__init__.py')] |