why wx.richtext add 'none' newline() i'd sure rid of this.
output:
commas detected in naming!
none
spam , bake beans,spam 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)
i'm adding 2 new lines: omit ('\n')