code: def _get_default_cache_path():
      if platform.system().lower() == "windows":
          dir_ = os.path.join(
              os.getenv("LOCALAPPDATA") or os.path.expanduser("~"),
              "Parso",
              "Parso",
          )
      elif platform.system().lower() == "darwin":
          dir_ = os.path.join("~", "Library", "Caches", "Parso")
      else:
          dir_ = os.path.join(
              os.getenv("XDG_CACHE_HOME") or "~/.cache", "parso"
          )
      return os.path.expanduser(dir_)
  
imports: import time
  import os
  import sys
  import hashlib
  import gc
  import shutil
  import platform
  import errno
  import logging
  import warnings
  from parso._compatibility import FileNotFoundError, PermissionError, scandir
  from parso.file_io import FileIO
label_desc: Use image node_id 1 for calling a global function with example usage: _get_default_cache_path() and returns: os