helch
08-05-2007, 02:41 AM
I think some of you might have that already, but I didn't see any package on mobileread so here it is: python-2.5.1 for your iliad.
Download here: http://projects.mobileread.com/iliad/users/helch/python-2.5.1_iliad.tar.gz (md5sum: 4a6068ff1df9f7b0d771cfd319a88211)
Unpack to your a folder of your choice on the iliad (it's quite big unpacked, so cf/mmc would be appropriate)
Create a symlink like: root@ereader:~# ln -s /media/cf/apps/python/python /usr/bin/python
Start coding python and use it like you do on the pc!
nathany
09-14-2007, 08:11 PM
Very cool. So has anyone had success working with PyGTK on the Iliad?
nekokami
09-15-2007, 02:11 PM
Perhaps this could be added to the wiki....
Adam B.
09-15-2007, 07:47 PM
Does this include any python modules?
helch
09-16-2007, 06:19 AM
Perhaps this could be added to the wiki....
Ok, done.
Does this include any python modules?
Yes, but only the ones that come as "batteries" in the "batteries included" philosophy.
Haven't tried PyGTK yet, but I think it's feasible.
Haven't tried PyGTK yet, but I think it's feasible.
Indeed, one can use Familiar 0.8.2 package :
http://familiar.handhelds.org/releases/v0.8.2/feed/
I've successfully installed core python and pygtk and I'm testing it now.
(can't grab any button yet but that's another story)
Regards.
mojojojo
12-08-2007, 03:31 AM
Ok, done.
Yes, but only the ones that come as "batteries" in the "batteries included" philosophy.
Haven't tried PyGTK yet, but I think it's feasible.
I haven't played around with it a lot yet, but I can't seem to find the datetime or time modules installed. I think they should be part of the core python package. Is this a known issue?
I can see their .c files in the Modules directory, but no corresponding object files.
mojojojo
12-10-2007, 02:21 PM
I decided it was probably a good lesson to cross-compile python myself, so I did, which was kind of messy. But, I got it working, with the necessary modules.
For the record, I was trying to get a simple RSS library working, for a little project I'm working on. I think it required md5 (for whatever reason, never really looked into why), and I wanted some stuff from the time module. It turned out the RSS library also needed PyXML so I had to cross-compile that aswell, although that wasn't half the work compared to python. I should mention that practically everything I did was copy-pasted and adapted from a blog that described cross-compiling Python and PyXML.
Once I got the python working with PyXML everything worked really smoothly. I think python will be my language of choice for any coming projects on the Iliad.
Really a most awesome initiative, helch.