def create_loader(search_path_string=None):
 if (search_path_string is None):
  return Loader()
 paths = []
 extra_paths = search_path_string.split(os.pathsep)
 for path in extra_paths:
  path = os.path.expanduser(os.path.expandvars(path))
  paths.append(path)
 return Loader(extra_search_paths=paths)

def create_loader ( search_path_string = None ) : if ( search_path_string is None ) : return Loader ( ) paths = [ ] extra_paths = search_path_string . split ( os . pathsep ) for path in extra_paths : path = os . path . expanduser ( os . path . expandvars ( path ) ) paths . append ( path ) return Loader ( extra_search_paths = paths )
create a loader class .