View Full Version : Python 2.6 for iLiad
ericshliao 10-06-2008, 04:38 AM Here is a Python 2.6 for iLiad.
Usage:
*Unpack the attachments to anywhere
*in mrxvt, run python/python to enter interactive mode
*You can use python as a text mode calculator. Type "8-2" and you'll get a "6".
I don't do programming on python, I need it because I want to compile PyGTK. Maybe you python programmers can say something more about how to use python on iLiad.
drago 10-07-2008, 02:51 AM See this thread:
http://www.mobileread.com/forums/showthread.php?t=9984&highlight=comix
The problem is that as it's based in python, one would have to bring python to the Iliad, and it can be a very straight forward thing to do or a very complicated task... because python is huge! Anyway, it would be somewhat time-consuming.
I would prefer to port a plain C program, but it seems that all the good comic viewers are written in some sort of script language... :uhoh2:
From this I infer that porting Comix would now be feasible. That would be very nice indeed.
ericshliao 10-07-2008, 06:38 AM I haven't been able to build PyGTK for iLiad.
By conjecture, the odd is tiny.
mike b 10-15-2008, 12:42 PM If python is working, would a python-based browser like FireSnake (http://pypi.python.org/pypi/FireSnake%20Browser/1.0) work and be an improvement over existing Iliad browsers?
ericshliao 10-16-2008, 01:30 AM If python is working, would a python-based browser like FireSnake (http://pypi.python.org/pypi/FireSnake%20Browser/1.0) work and be an improvement over existing Iliad browsers?
I don't think having FireSnake working on iLiad is possible. Unless you are satisfied with console mode browsing. FireSnake needs PyQt binding for X-window environemnt.
kapoira 11-21-2008, 08:52 AM can you port the lib of the qt, to do programs with pyqt, very please with sugar on top.
python + qt = pyqt
it can be the best solution to program for the iliad with graphics
ericshliao 11-21-2008, 11:21 PM Under iLiad's limited memory size and its special display refresh mechanism, Python is not a good way to do serious job on iLIad, especially when GUI is related.
Besides, PyQt is not the combination of Python and Qt. Instead, PyQt is a binding between Qt and Python. The relationship between them is not an equation A+B=C.
More specifically, I would say "Python on top of PyQt on top of Qt = Python GUI".
kapoira 11-28-2008, 12:39 PM i know that it isn't the equation python +qt =pyqt true but it's the simple way i express the idea of the bindings. It's very simple but you get the idea.
How you cross-compile the python to the iliad? thanks in advance
ericshliao 11-28-2008, 09:10 PM I wish I could tell more, but I it's been some time since I compiled this Python build. I have cleared them all.
All that I can share is that iRex SDK and Scratchbox were used. And some finetune should be applied to configureation.
kapoira 12-05-2008, 02:17 PM if you can post the finetune to compilation in the forum to don't lose this information it is a good thing. I don't know if i will try to compile it but it's better if i can start for a solid base. Thanks in advance.
ericshliao 12-05-2008, 10:18 PM If you want to compile python on your own, version 2.52 should be a proper start. No pathc or finetune is requird.
Napoleon 12-08-2008, 01:27 PM Hello,
It just came to my mind that if python is possible on the Iliad, is it possible to develop an extremely rudimentary, simple but yet really useful contentlister to overcome the "6 files-per-page" navigation nightmare?
I'll be willing to program it, but before I get to it I would like to have the opinion of those who know more and better and I do.
La république vous appelle, citoyens!
ericshliao 12-08-2008, 02:03 PM For now, contentlister on iLiad is too important to be replaced. But it should be possible to execute a python program ontop of contentlister. The problem is, python needs PyGTK to produce GUI, and we don't have PyGTK for iLiad right now.
If you want to make that program, you have to build PyGTK for iLiad beforehand.
nekokami 01-28-2009, 01:30 AM If we have python on the iLiad, could we get a script to run ereader2html based on the .pdb extension? We could store the credit card number and name on the iLiad in a file, perhaps. Like the ConvertLit implementation on the iLiad. It would just save a step to prepare eReader files to be usable on the iLiad. This would be particularly useful as it looks like Fictionwise is really pushing the eReader format now (especially since OverDrive has severed their contract with Fictionwise), but there still isn't a Linux based eReader utility.
ericshliao 01-28-2009, 02:08 AM If we have python on the iLiad, could we get a script to run ereader2html based on the .pdb extension?
Do you mean file format conversion? I think that it is quite possible.
|