code: def get_config_path(home_dir=None):
      r"""Get path to standard mne-python config file.
  
      Parameters
      ----------
      home_dir : str | None
          The folder that contains the .mne config folder.
          If None, it is found automatically.
  
      Returns
      -------
      config_path : str
          The path to the mne-python configuration file. On windows, this
          will be '%USERPROFILE%\.mne\mne-python.json'. On every other
          system, this will be ~/.mne/mne-python.json.
      """
      val = op.join(
          _get_extra_data_path(home_dir=home_dir), "mne-python.json"
      )
      return val
  
imports: import atexit
  import json
  import multiprocessing
  import os
  import os.path
  import platform
  import shutil
  import subprocess
  import sys
  import tempfile
  from functools import lru_cache, partial
  from importlib import import_module
  from pathlib import Path
  from urllib.error import URLError
  from urllib.request import urlopen
  from packaging.version import parse
  from ._logging import logger, warn
  from .check import _check_fname, _check_option, _check_qt_version, _validate_type
  from .docs import fill_doc
  from .misc import _pl
label_desc: Use image node_id 4 for calling a global function with example usage: get_config_path(home_dir) and returns: val