If your like me, learning the ins and outs of the Python foundation, this will allow you to get more information on the standard error, streamed at the browser, for debugging purposes (HF Python, page 248). Add the following two lines of code to your main webapp script and let Python take care of showing you the details of the errors it has found:
import cgitb
cgitb.enable()
cgitb.enable()
So now we go on to Python for Android and I'm sure you will like these two links: