|
|||||||
|
You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community today, you will have fewer ads, access to post topics, communicate privately with other members, respond to polls, upload content and access many other special features. If you have any problems with the registration process or your account login, please contact us. Hint: Don't have time to visit us daily? Subscribe to our main RSS feed to receive our frontpage posts at your convenience. |
| iLiad Software Releases For iLiad application releases and installers |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 |
|
Member
![]() ![]() ![]()
Posts: 18
Karma: 207
Join Date: Aug 2007
Device: irex iliad
|
Functioning Python 2.5
The previous version of Python that was posted here had lots of issues (actually, it was just a partial build). So I built it with a couple of extra modules such as Django. Just unpack it and play. The executable is "exe/python/bin/python"
I might have some more relevant info about it (and other cool stuff for the Iliad) on my website soon. http://blog.amirshimoni.com/2008/05/...rex-iliad.html Enjoy... |
|
|
|
|
|
#2 |
|
Member
![]() ![]() ![]()
Posts: 18
Karma: 207
Join Date: Aug 2007
Device: irex iliad
|
Included modules
Here is the list of included modules. To get the list, first set Django's config (it gets upset otherwise):
Code:
export DJANGO_SETTINGS_MODULE=django.conf.global_settings Code:
exe/python/bin/python Code:
help() modules Code:
BaseHTTPServer cProfile itertools shutil Bastion cStringIO keyword signal CGIHTTPServer calendar linecache site Canvas cdrom linuxaudiodev smtpd ConfigParser cgi locale smtplib Cookie cgitb logging sndhdr Dialog chunk macpath socket DocXMLRPCServer cmath macurl2path spwd FileDialog cmd mailbox sqlite3 FixTk code mailcap sre HTMLParser codecs markupbase sre_compile MimeWriter codeop marshal sre_constants Queue collections math sre_parse ScrolledText colorsys md5 stat SimpleDialog command mhlib statvfs SimpleHTTPServer commands mimetools string SimpleXMLRPCServer compileall mimetypes stringold SocketServer compiler mimify stringprep StringIO contextlib mmap strop Tix cookielib modulefinder struct Tkconstants copy multifile subprocess Tkdnd copy_reg mutex sunau Tkinter crypt mwlib sunaudio UserDict csv netrc symbol UserList ctypes new symtable UserString curses nis sys _LWPCookieJar datetime nntplib syslog _MozillaCookieJar dbhash ntpath tabnanny __builtin__ decimal nturl2path tarfile __future__ difflib opcode telnetlib _ast dircache operator tempfile _bisect dis optparse termios _codecs distutils os tests _codecs_cn django os2emxpath textwrap _codecs_hk dl ossaudiodev this _codecs_iso2022 dlfcn parser thread _codecs_jp doctest pdb threading _codecs_kr dumbdbm pickle time _codecs_tw dummy_thread pickletools timeit _csv dummy_threading pil tkColorChooser _ctypes_test easy_install pipes tkCommonDialog _elementtree email pkg_resources tkFileDialog _functools encodings pkgutil tkFont _heapq errno platform tkMessageBox _locale exceptions popen2 tkSimpleDialog _lsprof fcntl poplib toaiff _md5 filecmp posix token _multibytecodec fileinput posixfile tokenize _random fnmatch posixpath trace _sha formatter pprint traceback _sha256 fpformat profile tty _sha512 ftplib pstats turtle _socket functools pty types _sqlite3 gc pwd unicodedata _sre getopt py_compile unittest _strptime getpass pyclbr urllib _struct gettext pydoc urllib2 _symtable glob pyexpat urlparse _testcapi gopherlib quopri user _threading_local grp random uu _types gzip re uuid _weakref hashlib repr warnings aifc heapq resource wave anydbm hmac rexec weakref array hotshot rfc822 webbrowser asynchat htmlentitydefs rgbimg whichdb asyncore htmllib rlcompleter wikimarkup atexit httplib robotparser wsgiref audiodev idlelib runpy xdrlib audioop ihooks sched xml base64 imageop select xmllib bdb imaplib sets xmlrpclib binascii imghdr setuptools xxsubtype binhex imp sgmllib zipfile bisect imputil sha zipimport bsddb in shelve zlib cPickle inspect shlex |
|
|
|
|
|
#3 |
|
Connoisseur
![]() ![]()
Posts: 73
Karma: 111
Join Date: Apr 2008
Device: iliad
|
Thank you for your hard work amirshim!
I am not a developer, and not really versed in computer, but I can tell from what you wrote that this new functioning python will open a new window for exciting new applications...A couple of questions: Is it possible to install the new language on a CF, or does it have to use the intern memory? Will it be possible for us (not so well computer literate) to have an installer package as the one that Daudi, Adam and Co. usually prepare for us?? Thanks a million for your consideration. Dabon. |
|
|
|
|
|
#4 |
|
Member
![]() ![]() ![]()
Posts: 18
Karma: 207
Join Date: Aug 2007
Device: irex iliad
|
You can probably install it anywhere. But as for a clean installer... I leave it to the experts... or we'll tackle it when it is needed.
|
|
|
|
|
|
#5 |
|
Connoisseur
![]() ![]()
Posts: 73
Karma: 111
Join Date: Apr 2008
Device: iliad
|
Thank you, amirshim! I really appreciate it!
|
|
|
|
|
|
#6 |
|
Junior Member
![]()
Posts: 2
Karma: 10
Join Date: May 2008
Device: iLiad
|
I have been experimentig a little bit with this version of python. Seems to be working fine!
I noticed ssl is not supported. Is it possible to support ssl? |
|
|
|
|
|
#7 |
|
Member
![]() ![]() ![]()
Posts: 18
Karma: 207
Join Date: Aug 2007
Device: irex iliad
|
SSL for python...
Here you go...
Just copy _ssl.so from the archive to "exe/python/lib/python2.5/lib-dynload/" run the included sample program (from the python guide) to make sure it's working. -Amir |
|
|
|
|
|
#8 |
|
Member
![]() ![]() ![]()
Posts: 18
Karma: 207
Join Date: Aug 2007
Device: irex iliad
|
Smaller Python Executable (Stripped)
I just realized that I didn't strip any of the executables that I built, so they are about twice as big as they should be. I'm not going to redo everything, but I stripped the python executable and it went down from 2.8MB to 1.2MB
If you like, you can replace the one in exe/python/bin/ with this one. It should be exactly the same, but stripped (of symbol info). -Amir |
|
|
|
|
|
#9 |
|
eBuchReisender
![]() ![]() ![]()
Posts: 41
Karma: 208
Join Date: May 2008
Location: Münster
Device: Palm Tungsten-E, iLiad
|
![]() amirshim, just wanted to thank you for this port of Python. I cannot code in another language (yet ), so this has thrown open for me a huge wide door to the iLiad.It is so much fun to code what I want. Cheers, Nergal |
|
|
|
|
|
#10 |
|
Connoisseur
![]() ![]()
Posts: 73
Karma: 111
Join Date: Apr 2008
Device: iliad
|
Help needed
Hi Amirshim,
I have decided to "tackle" this python installation , and I tried to use Xshell to install python, but everytime I put in the line: "exe/python/bin/python" I am receiving the message: " sh: exe/python/bin/python: not found" ![]() Would you be kind as to help me and let me know what I am doing wrong? I have trued to use the both version unstripped and stripped: same result!! ![]() Thanks, Dabon. |
|
|
|
|
|
#11 |
|
Member
![]()
Posts: 22
Karma: 67
Join Date: May 2008
Device: iRex iLiad
|
Hi Dabon,
For anyone confused about what Xshell is, it's a new wrapper for mrxvt. Since this release is primarily for developers, a few steps were left implicit. Please forgive me if I misunderstood your question. If you put iliad_python_2.5.tar.gz on your cf card inside the "python" directory, then start xshell and type: cd /media/cf/python tar -xzvf iliad_python_2.5.tar.gz exe/python/bin/python That should in principle get you into python. |
|
|
|
|
|
#12 |
|
Connoisseur
![]() ![]()
Posts: 73
Karma: 111
Join Date: Apr 2008
Device: iliad
|
Thanks a million, Bobj! It was more than helpful...it was very instructional...a true learning experience indeed!!
problem solved!! Thanks Dabon. |
|
|
|
|
|
#13 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]()
Posts: 854
Karma: 541
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
|
Does this Python build provide PyGTK? I want to test if if ComiX (http://comix.sourceforge.net/download.html) runnable?
Last edited by ericshliao; 09-16-2008 at 06:18 PM. |
|
|
|
|
|
#14 |
|
Junior Member
![]()
Posts: 9
Karma: 10
Join Date: Jul 2008
Device: iLiad
|
I can get Python running by starting the command shell and /media/cf/exe/..../python.
But I don't understan how to start Python from the Content Lister, using run.sh scripts and manifest.xml. All variations I tried resultted in a screen refresh of the content lister. Questions 1: What should be the run.sh script? 2: How to redirect output to see what is going wrong in run.sh? Thanks Hisko |
|
|
|
|
|
#15 |
|
Connoisseur
![]()
Posts: 97
Karma: 84
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad
|
curses module missing
Hi,
first of all thanks for this package. now a petition: could you add curses module please? Thanks, Iņigo |
|
|
|
![]() |
| Tags |
| development, iliad, irex, python, wiki |
| Thread Tools | Search this Thread |
| Display Modes | |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| application in python or java | madprocessor | iLiad Developer's Corner | 1 | 06-10-2008 08:24 AM |
| python coding... | alexxxm | Reader Content | 8 | 01-31-2008 01:25 PM |
| python for your iliad | helch | iLiad Software Releases | 7 | 12-10-2007 04:21 PM |
| Reader frozen / dead / not functioning AGAIN | MacBeezle | Reader Troubleshooting | 4 | 08-08-2007 09:12 AM |
| Python Error with Plucker | Horse | Reading and Management | 1 | 04-07-2003 02:57 PM |