code: def find_module_pre_py34(
      string, path=None, full_name=None, is_global_search=True
  ):
      # This import is here, because in other places it will raise a
      # DeprecationWarning.
      import imp
  
      try:
          module_file, module_path, description = imp.find_module(
              string, path
          )
          module_type = description[2]
          return (
              module_file,
              module_path,
              module_type is imp.PKG_DIRECTORY,
          )
      except ImportError:
          pass
  
      if path is None:
          path = sys.path
      for item in path:
          loader = pkgutil.get_importer(item)
          if loader:
              try:
                  loader = loader.find_module(string)
                  if loader:
                      is_package = loader.is_package(string)
                      is_archive = hasattr(loader, "archive")
                      module_path = loader.get_filename(string)
                      if is_package:
                          module_path = os.path.dirname(module_path)
                      if is_archive:
                          module_path = loader.archive
                      file = None
                      if not is_package or is_archive:
                          file = DummyFile(loader, string)
                      return file, module_path, is_package
              except ImportError:
                  pass
      raise ImportError("No module named {}".format(string))
  
imports: import errno
  import sys
  import os
  import re
  import pkgutil
  import warnings
  import inspect
  import subprocess
  import ast
label_desc: Use image node_id 3 for calling a global function with example usage: find_module_pre_py34(string, path, full_name, is_global_search) and returns: module_file,  module_path,  unknown, file,  module_path,  is_package