code: def paths_to_modules(paths):
      """
      Given an iterable of paths, return equivalent list of modules.
      """
      return [
          str(i.relative_to(ROOT_DIR))[:-3].replace("/", ".")
          for i in paths
          if "__pycache__" not in str(i)
      ]
  
imports: from pathlib import Path
label_desc: Use image node_id 1 for calling a global function with example usage: paths_to_modules(paths) and returns: unknown