code: def get_vmware_inventory_path():
          
  
          if sys.platform.startswith("win"):
              return os.path.expandvars(r"%APPDATA%\Vmware\Inventory.vmls")
          elif sys.platform.startswith("darwin"):
              return os.path.expanduser("~/Library/Application Support/VMware Fusion/vmInventory")
          else:
              return os.path.expanduser("~/.vmware/inventory.vmls")
docs: Returns VMware inventory file path.
  
          :returns: path to the inventory file