0

I have a simple PyQt5 GUI that takes input from the user. This input is then passed as an argument to a function in another imported Python module. This function prints status messages to the console when it is running. I'd like to capture or pipe these console messages to the calling GUI's text box but I am not sure how to do this. Can someone point me to some examples on how to do this?

Thanks, mn3

  • Read all the answers to the linked question (and be careful that if the module uses threading, it *must* be taken into account). Also, be aware that StackOverflow is not a tutorial or how-to website, in this case an answer already existed (actually, many answer exist, so I suggest you to improve your research skills), but in any other case your question would be closed anyway as asking for examples is not the scope of StackOverflow. Please take your time to follow the [tour] and read [ask], also remember review the [checklist](//meta.stackoverflow.com/q/260648) before asking new questions. – musicamante Dec 09 '22 at 14:56

0 Answers0