6 lines
167 B
Python
Raw Normal View History

2025-01-22 16:18:30 +01:00
import glob
from os.path import dirname, basename, isfile
modules = glob.glob(dirname(__file__) + "/*.py")
__all__ = [basename(f)[:-3] for f in modules if isfile(f)]