code: def mine_system_python_ver(tail_args):
      for arg in tail_args:
          if "USE_SYSTEM_PYTHON" in arg:
              _, version = arg.split("=")
              major, minor = version.split(".")
              return PythonVersion(
                  int(major), int(minor), from_sandbox=True
              )
      return PythonVersion(
          sys.version_info.major, sys.version_info.minor
      )
  
imports: from __future__ import print_function
  import glob
  import subprocess
  import shutil
  import os
  import stat
  import sys
  import platform
  import tempfile
  import hashlib
  from base64 import urlsafe_b64encode
  from argparse import ArgumentParser
  from enum import Enum
label_desc: Use image node_id 8 for calling a global function with example usage: mine_system_python_ver(tail_args) and returns: PythonVersion, PythonVersion