Interact With Python Script Running Infinitive Loop From Web
I have a python script on my raspberry-pi continuously (every 5 seconds) running a loop to control the temperature of a pot with some electronics through GPIO. I monitor temperatu
Solution 1:
You have to write somewhere your configuration for looping script. So file or database are possible choices but I would say that a formatted file (ini, yaml, …) is the way to go if you have a little number of parameters.
Solution 2:
not sure about raspberry-pi but I see these solutions:
os signal (doc here
socket see Python socket server/client programming
Post a Comment for "Interact With Python Script Running Infinitive Loop From Web"