To install PyMaemo you first need to enable the PyMaemo repository, so you can enjoy Python on your device.
You will need a working internet connection to install PyMaemo on your device, check your device manual about how to configure one.
Follow the sequence depicted on the images below. Open the App Manager, click on the title Application manager, then on the button Application catalogues, then click on New.
Fill the new repository data with the information below and click Save.
These are the instructions for Diablo:
Now run x-term application, to get a command line prompt. Your device must be in RD mode. This is done using sudo flasher –enable-rd-mode.
Inside x-term type (hit ENTER after each line):
sudo /usr/sbin/gainroot apt-get update apt-get install python2.5-runtime
When asked to agree, choose Y. Now wait until python is being installed.