pyqt5之将textBrowser的内容写入txt文档的方法
如下所示:try:StrText=self.textBrowser.toPlainText()qS=str(StrText)f=open('/***/test.txt','w')print(f.write('{}'.fo
textBrowser
如下所示:try:StrText=self.textBrowser.toPlainText()qS=str(StrText)f=open('/***/test.txt','w')print(f.write('{}'.fo