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.
|
import os
|
|
import pkgutil
|
|
|
|
pkg_path = os.path.dirname(__file__)
|
|
pkg_name = os.path.basename(pkg_path)
|
|
|
|
for _, file, _ in pkgutil.iter_modules([pkg_path]):
|
|
__import__(pkg_name + '.' + file)
|
|
|