code: def get_python_major_version(python_bin_path):
      """Get the python major version."""
      return run_shell(
          [python_bin_path, "-c", "import sys; print(sys.version[0])"]
      )
  
imports: import argparse
  import errno
  import glob
  import json
  import os
  import platform
  import re
  import subprocess
  import sys
label_desc: Use image node_id 14 for calling a global function with example usage: get_python_major_version(python_bin_path) and returns: run_shell