str='要显示的字符串' self.textEdit.append(str) 可用于循环输出 详:https://xiaopengzhen.blog.csdn.net/article/details/104984966