code: def _get_path(userbase):
      version = sys.version_info
  
      if os.name == "nt":
          ver_nodot = sys.winver.replace(".", "")
          return f"{userbase}\\Python{ver_nodot}\\site-packages"
  
      if sys.platform == "darwin" and sys._framework:
          return f"{userbase}/lib/python/site-packages"
  
      return f"{userbase}/lib/python{version[0]}.{version[1]}/site-packages"
  
imports: import sys
  import os
  import builtins
  import _sitebuiltins
  import io
label_desc: Use image node_id 10 for calling a global function with example usage: _get_path(userbase) and returns: userbase, str, version, str, version, str, userbase, str, ver_nodot, str, userbase, str