code: def get_platform():
      if os.name == "nt":
          TARGET_TO_PLAT = {
              "x86": "win32",
              "x64": "win-amd64",
              "arm": "win-arm32",
          }
          return (
              TARGET_TO_PLAT.get(os.environ.get("VSCMD_ARG_TGT_ARCH"))
              or get_host_platform()
          )
      else:
          return get_host_platform()
  
imports: import os
  import re
  import importlib.util
  import string
  import sys
  import distutils
  from distutils.errors import DistutilsPlatformError
  from distutils.dep_util import newer
  from distutils.spawn import spawn
  from distutils import log
  from distutils.errors import DistutilsByteCompileError
label_desc: Use image node_id 2 for calling a global function with example usage: get_platform() and returns: unknown, get_host_platform