Ayushi_Yadav | 2021-03-12 19:08:10 UTC | #1
I have started a backend script using self.p.start.....! I am also printing the 4 types of logs status on a runtime on the GUI. Now I want to run a function on the front end which waits for a file to be available at a given path, post which the file needs to be loaded on the GUI. When I run the function along with the backend, the runtime logs do not get printed but get dumped all at once when the file is available. start_process() : function which starts the backend script. searchforJsonfile(): function which waits and then loads the file on GUI. I want to run both the above functions on a click of a button. When I do the same, the above explained phenomena happens. How can I accomplish both the needs in pyqt?
Create GUI Applications with Python & Qt5 by Martin Fitzpatrick — (PyQt5 Edition) The hands-on guide to making apps with Python — Over 10,000 copies sold!