停止wx richtext添加换行符



为什么wx.richtext从Newline()中添加"None"我肯定想去掉它。

输出:

命名中检测到逗号!

垃圾邮件和烘焙豆,垃圾邮件bake.txt

self.bottomview.BeginTextColour((255, 0, 0))                       
gh = str(self.bottomview.WriteText("COMMAS DETECTED IN NAMING!")) + ('n') + bf
self.bottomview.EndTextColour()
self.bottomview.Newline()
self.bottomview.AppendText(gh) 

我添加了两行新行:省略('\n')

最新更新