mirror of
https://github.com/PyRetri/PyRetri.git
synced 2025-06-03 14:49:50 +08:00
11 lines
264 B
Python
11 lines
264 B
Python
|
# -*- coding: utf-8 -*-
|
||
|
|
||
|
import glob
|
||
|
from os.path import basename, dirname, isfile
|
||
|
|
||
|
|
||
|
modules = glob.glob(dirname(__file__) + "/*.py")
|
||
|
__all__ = [
|
||
|
basename(f)[:-3] for f in modules if isfile(f) and not f.endswith("__init__.py") and not f.endswith("utils.py")
|
||
|
]
|