There are ways to use the Python programming language on a typical Android device, iPhone, or iPad, but with fewer features ...
Last time I showed you how to expose a web service on a Raspberry Pi (or, actually, any kind of device) by using a reverse proxy from Pagekite. On your Pi, you just need a simple Python script.