You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12345 |
- from os.path import dirname, basename, isfile
- import glob
- modules = glob.glob(dirname(__file__)+"/*.py")
- __all__ = [ basename(f)[:-3] for f in modules if isfile(f) and basename(f) != '__init__.py']
|