This is an automatic python click that you can use in games or elsewhere.
Both files must be in the same folder, otherwise you will have to write a complete file path. You will be able to run the file later. example if they ar in same folder: os.environ[ 'QT_QPA_PLATFORM_PLUGIN_PATH'] = "name.ui" example if they aren't in same folder: os.environ[ 'QT_QPA_PLATFORM_PLUGIN_PATH'] = "D\new floder\python\name.ui"