Jul-26-2021, 04:55 PM
(Jul-26-2021, 03:30 PM)Axel_Erfurt Wrote:os.system('python -m PyQt5.uic.pyuic PI_GUI_App_Map.ui -o PI_GUI_App_Map.py')Do that once (in a terminal)and remove this line.
Without knowing the code of PI_GUI_App_Map and PI_GUI_Funcc and count.txt it is difficult to help.
Thanks for replying.
yes, I have tried that (without os.system()).
PI_GUI_App_Map.py is transformed from the ui file.
PI_GUI_Func includes a class to start up a child thread.
count.txt is a file created by another equipment, which is monitored by this program to see when it changes (basically just 1, 2, 3...).
The py files are attached.
Many thanks
Attached Files
PI_GUI_Func.py (Size: 1.79 KB / Downloads: 117)
PI_GUI_App_Map.py (Size: 8.15 KB / Downloads: 112)
AppMap_setup.py (Size: 5.95 KB / Downloads: 113)