continuous plotting with Tkinter

Martin Blume mblume at socha.net
Wed Feb 2 12:35:04 EST 2005


I have a number-crunching application that spits out 
a lot of numbers. Now I'd like to pipe this into a python
app and plot them using Tkinter, such as:
$ number_cruncher | myplot.py
But with Tkinter once  I call Tkinter's mainloop() I
give up my control of the app and I can't continue to
read in data from stdin.  Or can I? If so, how?

Regards
Martin






More information about the Python-list mailing list