code: def get_sys_executable():
      
      if sys.executable:
          return sys.executable
  
      global _sys_executable_warning_logged
      if not _sys_executable_warning_logged:
          LOG.warn(SYS_EXECUTABLE_MSG)
          _sys_executable_warning_logged = True
  
      return '/usr/bin/python'
docs: Return :data:`sys.executable` if it is set, otherwise return
      ``"/usr/bin/python"`` and log a warning.