On Mon, Jun 14, 2010 at 8:06 PM, Vikas BN <vikas...@gmail.com> wrote: [..] > Is there a way to 'tail' the output of this script to the browser? I > searched on the > internet, but apparently my skills in that area seem to have fallen short > in this case :(
Not Python specific but Ajax term (http://antony.lesuisse.org/software/ajaxterm/) and it's predecessor anyterm implement web based terminals. You might be able to steal some ideas from there. As far as I know, they implement a simple polling mechanism with something like exponential back off to read back new data on the remote process. -- ~noufal http://nibrahim.net.in _______________________________________________ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers