Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Python for android phones
Python C Perl Objective-C Shell C++ Other
branch: master


latest commit 7e9aa7ea38
Harish.K authored
Failed to load latest commit information.
Demo mod change
Doc mod change
Grammar mod change
Include mod change
Lib mod change
Mac mod change
Misc mod change
Modules Final Working python2.7.3
Objects mod change
PC mod change
PCbuild mod change
Parser mod change
Python Added Python-2.7.2-filesystemdefaultencoding.patch
RISCOS mod change
Tools mod change
.hg_archival.txt mod change
.hgtags mod change
LICENSE mod change mod change
README.original Added preject readme updated updated
configure xcomile patch mod change
gdb.setup updated
install-sh initial commit
pyconfig.h Final Working python2.7.3 mod change Final Working python2.7.3

Python2.7.3 Android

This is source for building python2.7.3 for android usig android-ndk.inspired by python-for-android - Py4A

Binary files can be downloaded from sourceforge download page by using python we can run ipython on android terminal emulator may give some clue about compiling the source.

compiling hints

Set the appropriate path for your android-ndk ,includes and libs in put a runnable python2.7.3 binary file and rename it into hostpython.(It can be copied from /usr/bin or can be compiled from source) uncomment 'configure' and 'make' commands in for corresponding actions. this will produce binaries with debugging information (big size tooo). so stripping down is necessary binaries with debugging symbols can be used for debugging with gdbsever. gdbserver arm-elf binary can be found in ndk folder file gdb.setup contains some gdb commands which i used for debuging python using gdb remote debugging For redline support, readline and ncurses libraries are necessary. no need to compile sqlite and openssl (I didn't do that) copy the required header files (for sqlite and openssl) from androidsource/external folder and copy shared libraries fom phones /system/lib folder

Something went wrong with that request. Please try again.