M
Martin Blume
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
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