code: def _file_path_to_module_path(f: str) -> str:
      """Return the corresponding module path for a .py file."""
      dir, fn = os.path.split(f)
      return _full_module_path(_bazel_path_to_module_path(dir), fn)
  
imports: import argparse
  import ast
  import os
  import re
  import subprocess
  import sys
  from typing import Dict, List, Tuple
label_desc: Use image node_id 12 for calling a global function with example usage: _file_path_to_module_path(f) and returns: _full_module_path