|
|
#1 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,844
Karma: 23400772
Join Date: Jan 2010
Device: Kindle Fire HD, Kindle 2
|
What's my MOBI? (a python tool)
Regular old MOBI? Or the old, old TEXtREAd format? Is it a Topaz book? A Print Replica? Or maybe it's the shiny new KF8 format? Or is it both... a hybrid MOBI/KF8 book? It should just "work" on Linux or OSX since Python with Tkinter comes standard. Windows will of course have to have Python installed. A default ActiveState Python installation should have everything necessary (TKinter) to run it. I haven't verified everything, but I see no reason that it shouldn't work for Python 2.6 or 2.7 (maybe even 2.5, but someone else will have to test that). It's not overly fancy because I wanted it to work "out of the box" without scads of dependencies to be met. You can select one file, or multiple files (individually) ... or you can query all mobi-type files (MOBI, AZW, AZW3, AZW4, PRC) in a specified folder. It will even search subfolders recursively for mobi-files if you so choose (*NOTE*: it could take quite a while if you tell it to recursively search a HUGE calibre library folder—depending on your hardware ... you've been warned!). I'm not much for "pretty" output, so someone else will have to put lipstick on it if they want, but have at it! I'm sure someone will be able break it if they try hard. ![]() P.S. For the ultra-conservatives: it makes absolutely no modifications to the ebook files themselves. The program does, however, attempt to create/modify a tiny file on your hard drive. It uses the file to store the last directory opened so it can begin from there the next time you run the program. It's for convenience only and the program should still work if it can't (for whatever reason) create/modify/read that file. You'll just always have to start from the directory where the script lives when selecting files... each time. Full disclosure and all.
__________________
“Politics: A strife of interests masquerading as a contest of principles. The conduct of public affairs for private advantage.” Last edited by DiapDealer; 10-01-2012 at 08:45 AM. |
|
|
|
|
|
#2 |
|
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 433
Karma: 22676
Join Date: Feb 2010
Device: none
|
Cool addition to my bag'o'tricks!
Thanks, DD! |
|
|
|
|
Enthusiast
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Python script: batch create mobi's from epubs (if they don't exist) | jmeb | Conversion | 0 | 05-20-2011 01:14 PM |
| Do I need to download python before I plugin mobi dedrm | anarcHy | Plugins | 2 | 09-25-2010 09:33 AM |
| mobi creation tool for Windows 7? | bfollowell | Mobi | 7 | 09-18-2010 01:48 AM |
| python command line tool for kobo | reed | Kobo Reader | 2 | 06-05-2010 02:07 AM |
| Is there a tool for mobi like html2lrf? | texasnightowl | Mobi | 3 | 07-24-2008 11:06 AM |