Hey @neg77, welcome!
As far as I can tell this is Python to create some graphic user interface window. Other than that, I not sure what do you need help with?
Can you explain what do you not understand or/and what’s not working? Any good and pertinent information “will help us to help you”.
Waiting for your response