code: def _pv_platform():
      pv_system = platform.system()
      if pv_system not in {"Darwin", "Linux", "Windows"}:
          raise ValueError("Unsupported system '%s'." % pv_system)
  
      if pv_system == "Linux":
          pv_machine = _pv_linux_machine(platform.machine())
      else:
          pv_machine = platform.machine()
  
      return pv_system, pv_machine
  
file_path: porcupine/binding/python/_util.py
imports: import logging
  import os
  import platform
  import subprocess
label_desc: Use image node_id 3 for calling a global function with example usage: _pv_platform() and returns: pv_system,  pv_machine