08-05-2007, 03:41 AM | #1 |
mostly harmless
Posts: 8
Karma: 128
Join Date: Jul 2007
Location: Switzerland
Device: iRex iLiad
|
python for your iliad
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.
|
09-14-2007, 09:11 PM | #2 |
Enthusiast
Posts: 32
Karma: 108
Join Date: Aug 2007
Location: Canada
Device: Kobo h2o
|
Very cool. So has anyone had success working with PyGTK on the Iliad?
|
09-15-2007, 03:11 PM | #3 |
fruminous edugeek
Posts: 6,745
Karma: 551260
Join Date: Oct 2006
Location: Northeast US
Device: iPad, eBw 1150
|
Perhaps this could be added to the wiki....
|
09-15-2007, 08:47 PM | #4 |
Addicted to Porting
Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
|
Does this include any python modules?
|
09-16-2007, 07:19 AM | #5 |
mostly harmless
Posts: 8
Karma: 128
Join Date: Jul 2007
Location: Switzerland
Device: iRex iLiad
|
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. |
11-05-2007, 06:24 AM | #6 |
Junior Member
Posts: 6
Karma: 10
Join Date: Nov 2007
Device: Iliad
|
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. |
12-08-2007, 04:31 AM | #7 | |
Junior Member
Posts: 5
Karma: 10
Join Date: Dec 2007
Device: Irex Iliad
|
Modules time and datetime
Quote:
I can see their .c files in the Modules directory, but no corresponding object files. |
|
12-10-2007, 03:21 PM | #8 |
Junior Member
Posts: 5
Karma: 10
Join Date: Dec 2007
Device: Irex Iliad
|
Built python myself
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. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Python version? | lightkeeper54 | Calibre | 1 | 08-07-2009 06:38 AM |
using python with windows xp | tuufbiz1 | Kindle Formats | 10 | 05-05-2009 11:53 PM |
Python 2.6 for iLiad | ericshliao | iRex | 14 | 01-28-2009 01:08 AM |
Python 2.5 or 2.6? | itimpi | Calibre | 5 | 01-19-2009 12:48 PM |
python coding... | alexxxm | Sony Reader | 8 | 01-31-2008 12:25 PM |