On Sep 8, 5:37 pm, Thomas Jansson <[EMAIL PROTECTED]> wrote:
> Dear all
>
> I have tkinkter based frontend to a Fortran based program. I use
> subprocess to launch the fortran program as a child process and I wish
> to see the output of the fortran program as it is created in the
> console.
>
> The
Sean DiZazzo wrote:
while aThread.isAlive() or not aQueue.empty():
l = aQueue.get().rstrip()
fo.write(l)
print l
fo.close()
A bit of fun for a sleepless night...
and unless you add a call to time.sleep somewhere in that loop, you'll
keep your CPU up all night as well...
--
http
On Sep 8, 8:37 am, Thomas Jansson <[EMAIL PROTECTED]> wrote:
> Dear all
>
> I have tkinkter based frontend to a Fortran based program. I use
> subprocess to launch the fortran program as a child process and I wish
> to see the output of the fortran program as it is created in the
> console.
>
> The