Python PyQt5 中textBrowser显示(刷新)新添加的值

self.textBrowser.append('Temperature:{0}(℃)    Pressure: {1}(Torr)    StartTime: {2}    Now: {3}'
                        .format(self.TP_Data[0], self.TP_Data[1], self.starttime,str(datetime.now())[10:19]))
self.cursor = self.textBrowser.textCursor()
self.textBrowser.moveCursor(self.cursor.End)

猜你喜欢

转载自blog.csdn.net/m0_37827405/article/details/84942854