code: def get_platform():
      if sys.platform.startswith("linux"):
          return "linux"
      elif sys.platform.startswith("win32"):
          return "win32"
      elif sys.platform.startswith("cygwin"):
          return "cygwin"
      elif sys.platform.startswith("darwin"):
          return "darwin"
      else:
          return sys.platform
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import locale
  import os
  import re
  import subprocess
  import sys
  from collections import namedtuple
label_desc: Use image node_id 9 for calling a global function with example usage: get_platform() and returns: str, str, str, str, sys