How to change a variable in a running Python script/service from a web page?

pirekarenet

New Member
I am using Raspbian on a Raspberry Pi. I have a Python script (LCD.py) that controls an LCD running as a service using supervisord.I would like to able to enter a message on my web page and have it displayed on the LCD. I think this means I would have to change some variables that my LCD.py script reads, probably a flag to change mode and then the message itself using another Python script (CGI.py) executed by my server.What's the best way to do this? Or should I be doing something completely different? I think it is different from normal CGI type stuff as I cannot have a script being executed on each page load, it needs to run in the background (for scrolling, flashing etc)/ThanksJoe
 
Back
Top