Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > More E-Book Readers > iRex

Notices

Reply
 
Thread Tools Search this Thread
Old 08-05-2007, 03:41 AM   #1
helch
mostly harmless
helch doesn't litterhelch doesn't litter
 
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.
  • Download here: http://projects.mobileread.com/iliad...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:
    Code:
    root@ereader:~# ln -s /media/cf/apps/python/python /usr/bin/python
  • Start coding python and use it like you do on the pc!
helch is offline   Reply With Quote
Old 09-14-2007, 09:11 PM   #2
nathany
Enthusiast
nathany doesn't litternathany doesn't litter
 
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?
nathany is offline   Reply With Quote
Advert
Old 09-15-2007, 03:11 PM   #3
nekokami
fruminous edugeek
nekokami ought to be getting tired of karma fortunes by now.nekokami ought to be getting tired of karma fortunes by now.nekokami ought to be getting tired of karma fortunes by now.nekokami ought to be getting tired of karma fortunes by now.nekokami ought to be getting tired of karma fortunes by now.nekokami ought to be getting tired of karma fortunes by now.nekokami ought to be getting tired of karma fortunes by now.nekokami ought to be getting tired of karma fortunes by now.nekokami ought to be getting tired of karma fortunes by now.nekokami ought to be getting tired of karma fortunes by now.nekokami ought to be getting tired of karma fortunes by now.
 
nekokami's Avatar
 
Posts: 6,745
Karma: 551260
Join Date: Oct 2006
Location: Northeast US
Device: iPad, eBw 1150
Perhaps this could be added to the wiki....
nekokami is offline   Reply With Quote
Old 09-15-2007, 08:47 PM   #4
Adam B.
Addicted to Porting
Adam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the rough
 
Adam B.'s Avatar
 
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?
Adam B. is offline   Reply With Quote
Old 09-16-2007, 07:19 AM   #5
helch
mostly harmless
helch doesn't litterhelch doesn't litter
 
Posts: 8
Karma: 128
Join Date: Jul 2007
Location: Switzerland
Device: iRex iLiad
Quote:
Originally Posted by nekokami View Post
Perhaps this could be added to the wiki....
Ok, done.

Quote:
Originally Posted by Adam B. View Post
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.
helch is offline   Reply With Quote
Advert
Old 11-05-2007, 06:24 AM   #6
ldng
Junior Member
ldng began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Nov 2007
Device: Iliad
Quote:
Originally Posted by helch View Post

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.
ldng is offline   Reply With Quote
Old 12-08-2007, 04:31 AM   #7
mojojojo
Junior Member
mojojojo began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Dec 2007
Device: Irex Iliad
Modules time and datetime

Quote:
Originally Posted by helch View Post
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 is offline   Reply With Quote
Old 12-10-2007, 03:21 PM   #8
mojojojo
Junior Member
mojojojo began at the beginning.
 
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.
mojojojo is offline   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 04:05 AM.


MobileRead.com is a privately owned, operated and funded community.