Tkinter Text widget getting too slow
Peter Otten
__peter__ at web.de
Wed Sep 3 11:50:52 EDT 2003
Jane Austine wrote:
> As you add more items, say text lines, in Text widget, it gets too
> slow and almost impractical to use on. Take idle for example. If the
> text gets bigger(e.g. print
> urllib.urlopen('http://www.amazon.com').read() ), it becomes too
> sluggish to use as an "interactive" shell.
>
> I have tried wxPython and it seems to have the same problem (from my
> experience using PyCrust).
>
> Is there any way to speed up Text widget, or should I look for another
> GUI library?
>
> Jane
Does the same problem appear if you read a file of the same size from your
harddisk or is it just the web site that does not respond fast enough?
In this case you could put urlopen() into a separate thread.
Peter
More information about the Python-list
mailing list