[BangPypers] Live update of cmdline output on browser?

Noufal Ibrahim noufal at gmail.com
Mon Jun 14 17:23:32 CEST 2010


On Mon, Jun 14, 2010 at 8:06 PM, Vikas BN <vikas.bn at 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


More information about the BangPypers mailing list