code: def load_all_resources():
      
      pkgname = resources.__name__
      for importer, mod_name, _ in pkgutil.iter_modules(resources.__path__):
          full_mod_name = '%s.%s' % (pkgname, mod_name)
          if full_mod_name not in sys.modules:
              module = importer.find_module(mod_name
                          ).load_module(full_mod_name)
              log.debug("Loaded resource from: %s", module)
docs: Load all resources inside this package
  
      When compiling qt resources, the compiled python file will register the resource
      on import.
  
      .. Warning:: This will simply import all modules inside this package