python_android_20081229.jpg

If you have the Google Phone and prefer hacking Python over Java, this is just what you’ve been waiting for:

Here’s an early Christmas present for all those Python fanatics (self included) out there! With a lot of help from my friends (thanks Manuel and Thomas!) I managed to install Python 2.4.5 on my G1. It’s still rough around the edges, but I think it’s a good start. Klaus Reimer has a nice overview of how to cross-compile Python. My instructions borrow a lot from his.

You’ll need to do a bit of patching and cross compilation, but Damon’s instructions are thorough enough to get you through it.

Python on Android