06-14-2009, 05:11 AM | #1 |
Junior Member
Posts: 3
Karma: 10
Join Date: Jun 2009
Device: none
|
Reading .lit files from my app
Hi all,
(I asked this in the "workshop" forum but am re-asking here) I need a library that can read .lit files and can be used from my code (python) to process the input (i.e. I don't want to pre convert it to other format first). I stumbled across Calibre and it seemed like it's what I was looking for but I am having some difficulties to make it work (or properly install the egg package for that matter). Before I spend more time trying to make it work, is Calibre able to work in library mode that I can just call from my code and get paragraphs from a .lit file? If not, is there any other simple library that can do this? Thanks in advance, - barduck |
06-14-2009, 08:33 AM | #2 | |
Sigil & calibre developer
Posts: 2,487
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
Quote:
Code:
calibre_lit = calibre_function( open('blah.lit', r)) text = calibre_lit.paragraph(974) |
|
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
iPod 1g 32gb --Is there an app that can read aloud epub or lit files for the ipod/iphone? | Shasta_d | Apple Devices | 12 | 05-28-2010 03:31 PM |
iPad Kobo reading app is great! | DixieGal | Apple Devices | 7 | 05-23-2010 01:18 PM |
borders reading app coming | scottjl | Apple Devices | 10 | 05-17-2010 12:43 AM |
Library to read .lit files from my app? | barduck | Workshop | 2 | 06-14-2009 05:08 AM |
Converting LIT to LRF Woes (or: Trouble with Images in LIT Files) | JEMelby | Sony Reader | 0 | 07-27-2007 10:18 PM |