code: def _get_preferred_schemes():
      if os.name == "nt":
          return {
              "prefix": "nt",
              "home": "posix_home",
              "user": "nt_user",
          }
      if sys.platform == "darwin" and sys._framework:
          return {
              "prefix": "posix_prefix",
              "home": "posix_home",
              "user": "osx_framework_user",
          }
      return {
          "prefix": "posix_prefix",
          "home": "posix_home",
          "user": "posix_user",
      }
  
imports: import os
  import sys
  import threading
  from os.path import realpath
label_desc: Use image node_id 8 for calling a global function with example usage: _get_preferred_schemes() and returns: dict, dict, dict