Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 07-29-2014, 06:30 PM   #1
Lucas Malor
Pain in the arse
Lucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughing
 
Lucas Malor's Avatar
 
Posts: 574
Karma: 63112
Join Date: Apr 2013
Device: Kobo Glo, Kindle 4
Python 3 (and Cython) on Kobo

Since I'm using python for creating a little program for kobo, I'll post here this package, for anyone interested.

It contains the python 3.4.1 libraries and the interpreter. This make the package very small (~6 Mb).
The package contains also a simple "Hello world" executable, created using Cython. If you don't know Cython, it's a Python "dialect" that allow you to use static typing and compilation. It could speed up your Python code a lot. To test it, you have to telnet your kobo and launch "python3 hello.py".

Not all modules are included, since the size is too much for our poor little Kobo. If you want to use additional modules, you have only to copy them to /usr/local/lib/python3.4 . I suggest you to copy .pyc files only, to save space.
Attached Files
File Type: zip python_3.4.1_kobo.zip (2.62 MB, 4 views)

Last edited by Lucas Malor; Yesterday at 08:26 PM.
Lucas Malor is offline   Reply With Quote
Old Yesterday, 08:30 PM   #2
Lucas Malor
Pain in the arse
Lucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughing
 
Lucas Malor's Avatar
 
Posts: 574
Karma: 63112
Join Date: Apr 2013
Device: Kobo Glo, Kindle 4
I updated the package, I added also the interpreter. Maybe it's more useful to be able to create a python script and launch it with the usual "python3 script.py", I suppose.
Lucas Malor is offline   Reply With Quote
 
Enthusiast
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Python for Kobo Firmware 2.6+ KevinShort Kobo Developer's Corner 15 11-25-2013 01:38 PM
Touch Python/Pygame successfully running on Kobo Touch KevinShort Kobo Developer's Corner 18 10-24-2012 03:08 PM
What is python The Terminator General Discussions 20 01-21-2011 12:58 PM
python command line tool for kobo reed Kobo Reader 2 06-05-2010 02:07 AM
Python 2.5 or 2.6? itimpi Calibre 5 01-19-2009 12:48 PM


All times are GMT -4. The time now is 01:28 AM.


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