code: def cache_from_source(path, debug_override=None):
      """**DEPRECATED**
  
      Given the path to a .py file, return the path to its .pyc file.
  
      The .py file does not need to exist; this simply returns the path to the
      .pyc file calculated as if the .py file were imported.
  
      If debug_override is not None, then it must be a boolean and is used in
      place of sys.flags.optimize.
  
      If sys.implementation.cache_tag is None then NotImplementedError is raised.
  
      """
      with warnings.catch_warnings():
          warnings.simplefilter("ignore")
          return util.cache_from_source(path, debug_override)
  
imports: from _imp import lock_held, acquire_lock, release_lock, get_frozen_object, is_frozen_package, init_frozen, is_builtin, is_frozen, _fix_co_filename, _frozen_module_names
  from importlib._bootstrap import _ERR_MSG, _exec, _load, _builtin_from_name
  from importlib._bootstrap_external import SourcelessFileLoader
  from importlib import machinery
  from importlib import util
  import importlib
  import os
  import sys
  import tokenize
  import types
  import warnings
label_desc: Use image node_id 4 for calling a global function with example usage: cache_from_source(path, debug_override) and returns: util