Answer the question
In order to leave comments, you need to log in
How to automate desktop in python?
I ran into a problem. There are two msi files, there is 7zip and there is python. It is required to compare two msi files for matching files in them by name and by file weight, and unfortunately I don’t know how to approach the problem. Maybe someone knows? it is required to automate this check. I tried to install Pylzma but something does not want to get up at all. I would be grateful for advice
Answer the question
In order to leave comments, you need to log in
I propose to automate the unpacking of files through SikuliX or pywinauto.
We unpack the files, then using the OS module we get the contents of each folder (output to a list) and the size of each file (to another list). From the two resulting lists, we form a dictionary, where the key is the file name. Repeat for the second folder -> compare dictionaries. profit.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question