I wrote a python code for a project and I would like to execute a couple of functions through web.
For example : The function turnOn() is turning on a L.E.D. (this is just an example, the function will execute a bunch of stuff)
I would like to press a button on a webpage, the RPi executes the function and turn on the light.
How is this possible?