code: def load_library(self,libname):
          
          paths = self.getpaths(libname)
  
          for path in paths:
              if os.path.exists(path):
                  return self.load(path)
  
          raise ImportError("%s not found." % libname)
docs: Given the name of a library, load it.