Talking to a Raspberry Pi from your Phone using Bottle (Python)

Here’s a short post on communicating with the raspberry from your phone’s browser. Our goal is to turn an LED connected to the Pi on and off, by accessing a web page on the phone’s browser. Both the phone and the Pi are on the local WiFi network.