1

What I am trying to achieve seems like it should be simple, but I can not find anything online to help.

I would like to take my pyqt program and, instead of using the command prompt, export all my print() commands to a qtextbrowser.

There are 2 parts to my question.

  1. How do I disable the command prompt from showing up when the app is run.
  2. How to output the print() commands to the text browser in real time.

I am using Python 3.3 and qt designer with pyqt4.

Thank you in advance! Some of the code is confidential so if it is needed to help I can remove the sensitive info and post it.

4

1 回答 1

0

我找到了解决方案。我试图在我的 GUI 线程中做所有事情。我是 python 新手,但我确信通过一些研究我可以自学线程。

于 2013-04-24T17:41:15.447 回答