Fastest way to remove the first x characters from a very long string
Irmen de Jong
irmen.NOSPAM at xs4all.nl
Sat May 16 12:55:34 EDT 2015
On 16-5-2015 18:24, bruceg113355 at gmail.com wrote:
> Data is coming from a wxPython TextCtrl widget.
Hm, there should be a better source of the data before it ends up in the textctrl widget.
> The widget is displaying data received on a serial port for a user to analyze.
If this is read from a serial port, can't you process the data directly when it arrives?
This may give you the chance to simply operate on the line as soon as it arrives from
the port, before pasting it all in the textctrl
Irmen
More information about the Python-list
mailing list