(file_path, pkg_name)
import all modules recursively in a package
    :param file_path: just pass __file__
    :param pkg_name: just pass __name__
import all modules recursively in a package
    :param file_path: just pass __file__
    :param pkg_name: just pass __name__
import all modules recursively in a package : param file_path : just pass __file__ : param pkg_name : just pass __name__
def import_all_modules(file_path, pkg_name):
    """import all modules recursively in a package
    :param file_path: just pass __file__
    :param pkg_name: just pass __name__
    """
    for _, module_name, _ in walk_packages(
            [os.path.dirname(file_path)], pkg_name + '.'):
        import_module(module_name)
def import_all_modules ( file_path , pkg_name ) : for _ , module_name , _ in walk_packages ( [ os . path . dirname ( file_path ) ] , pkg_name + '.' ) : import_module ( module_name )