What's easiest way to get Python script output on the web?
Is this for a real webapp? Or is this a convenience thing for you to view output in the browser? If it's more so for convenience, you could consider using mod_python.
mod_python is an extension for the apache webserver that embeds a python interpreter in the web server (so the script runs server side). It would easily let you do this sort of thing locally or for your own convenience. Then you could just run the script with mod python and have the handler post your results. You could probably easily implement the refreshing too, but I would not know off the top of my head how to do this.
Hope this helps... check out mod_python. It's not too bad once you get everything configured.
I have a python script that runs continuously.  It outputs 2 lines of info every 30 seconds.  I'd like to be able to view this output on the web.  In particular, I'd like the site to auto-update (add the new output at the top of the page/site every 30 seconds without having to refresh the page).
I understand I can do this with javascript but is there a python only based solution?  Even if there is, is javascript the way to go?  I'm more than willing to learn javascript if needed but if not, I'd like to stay focused on python.
Sorry for the basic question but I'm still clueless when it comes to web programming.
Thx!