Well, Python runs just fine under Maemo, it is even packaged by the good folks at INdT and comes ready-to-use with pyGTK and pyGame. You can use either of these to make a GUI for your app, or make it HTML and show it in the browser.