Jan-07-2018, 08:36 PM
Sorry if the question was a bit vague! I am new to using PyQt (and making GUIs in general), and I am making a script that detects installed programs on my computer and retrieves the name of the program and its executable file path. So far I have a dictionary with file names as keys and the corresponding file paths as the key values.
Here is a snippet, though the actual dictionary is much longer:
One problem that I'm facing is that the dictionary doesn't have one set length. On my computer, there are about 53 keys, but the number may be very different for another computer or if I install or uninstall programs in the future.
I prefer PyQt since that is the module in which I am most knowlegeable for creating GUIs, but I am open to other methods as well.
Thanks!
Here is a snippet, though the actual dictionary is much longer:
{'Nexus Mod Manager': 'C:\\Games\\Nexus Mod Manager\\NexusClient.exe', 'CCleaner': 'E:\\Program Files\\CCleaner\\CCleaner.exe'}My goal is to create a GUI that has a row for each key-value pair in the dictionary. I would also like to put 2 buttons (Yes and No) in each row to let the user choose if the file path is correct. If it is correct, it will execute some other function.
One problem that I'm facing is that the dictionary doesn't have one set length. On my computer, there are about 53 keys, but the number may be very different for another computer or if I install or uninstall programs in the future.
I prefer PyQt since that is the module in which I am most knowlegeable for creating GUIs, but I am open to other methods as well.
Thanks!