If you click a button in the gui, the cmd window appears, and in that cmd window, It is responsible for analyzing and printing data. I want to copy the strings that are output to qtextedit in gui and import them in real time. What method should I use?
python3.6
The cmd window should not be the problem.
The exact question is that I want to communicate with other processes No?
Click the button to fork one process and communicate with that forked process I think so.
IPC methods vary.
Please refer to the link below for Python. https://docs.python.org/3.6/library/multiprocessing.html#sharing-state-between-processes
© 2024 OneMinuteCode. All rights reserved.