Python3.7
print('<p name="name">'+str(myRowValues2)+'</p>')
self.textBrowser.append('<p name="name">'+str(myRowValues2)+'</p>')
print()和textBrowser.append()输出结果不一样,print结果包含<p name="name">str(myRowValues2)</p>,而textBrowser.append()输出结果为str(myRowValues2),没有我想要的<p name=“name”></p>字符串,,求解答!