blob: 736c3c591ad2db3bc2f8d128a3006dc76144cfc3 (
plain)
1
2
3
4
5
6
7
|
import os
import glob
modules = glob.glob(os.path.join(os.path.dirname(__file__), "*.py"))
__all__ = [os.path.basename(f)[:-3] for f in modules if os.path.isfile(f) and not f.endswith("__init__.py")]
print(__all__)
|