code: def get_vmware_preferences_path():
          
  
          if sys.platform.startswith("win"):
              return os.path.expandvars(r"%APPDATA%\VMware\preferences.ini")
          elif sys.platform.startswith("darwin"):
              return os.path.expanduser("~/Library/Preferences/VMware Fusion/preferences")
          else:
              return os.path.expanduser("~/.vmware/preferences")
docs: Returns VMware preferences file path.
  
          :returns: path to the preferences file