I have a Python application that is unmounted and runs on a 24/7 server. I would like to have an incredibly simple web interface so that I can control the change in the values ββof several variables within the program.
I use Tornado and I work with a simple "Hello, world", which you can find on the Tornado homepage . However, as soon as tornado.ioloop.IOLoop.instance().start() is called, it enters the loop and does not return. My existing program (essentially) is also an infinite loop, but I want to integrate the two.
So my question is: how can I create my program so that I can control the variables inside my infinite loop using Tornado to provide a web interface?
python multithreading tornado daemon
Sam starling
source share