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

Go Back   MobileRead Forums > E-Book Formats > Workshop

Notices

Reply
 
Thread Tools Search this Thread
Old 04-26-2009, 08:38 AM   #1
sherman
Addict
sherman can bend spoons with a thought.sherman can bend spoons with a thought.sherman can bend spoons with a thought.sherman can bend spoons with a thought.sherman can bend spoons with a thought.sherman can bend spoons with a thought.sherman can bend spoons with a thought.sherman can bend spoons with a thought.sherman can bend spoons with a thought.sherman can bend spoons with a thought.sherman can bend spoons with a thought.
 
Posts: 279
Karma: 134960
Join Date: Sep 2008
Location: Auckland - NZ
Device: Sony PRS-505/SC, B&N Nook, Sony PRS-650/BC, Kobo Glo
GUI Frontend for python scripts [windows] - seeking mod input first

Hi all.

In my spare time I have been working on a windows GUI frontend for a couple of the python scripts that have been mentioned here on Mobileread.

The program itself merely takes user input (filenames, PID, CC number etc) and passes these along to the appropriate python script with quotes as needed etc.

The program also has the option to save the user data (PID, Name, CC) for later use.

If I were to release the program, the python scripts in question would NOT be included.

Mods - Am I allowed to attach the program here? Or is it getting too far into the grey area?
sherman is offline   Reply With Quote
Old 04-26-2009, 10:58 AM   #2
wallcraft
reader
wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.
 
wallcraft's Avatar
 
Posts: 6,979
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3 and Fire
A GUI front end would be very useful.

I don't know if it is anything more than a fig leaf, but if the GUI also asked the user to enter the name and location of the script then it would not in principle be specific to a given script. For example mobi_gui.pyw could work with any python script (or even a non-python script?) that took three arguments: MOBI MOBI PID. There are actually two such here, see pid_checksum and also the generic argecho. In addition, KindleDRM only takes one MOBI argument, and there is another script often mentioned on these forums with two arguments: AZW PID. Note that a MOBI can be in .azw as well as .prc or .mobi (so AZW and MOBI should be interchangable in the GUI).
wallcraft is offline   Reply With Quote
 
Advertisement
Old 04-26-2009, 12:03 PM   #3
wayrad
Fanatic
wayrad ought to be getting tired of karma fortunes by now.wayrad ought to be getting tired of karma fortunes by now.wayrad ought to be getting tired of karma fortunes by now.wayrad ought to be getting tired of karma fortunes by now.wayrad ought to be getting tired of karma fortunes by now.wayrad ought to be getting tired of karma fortunes by now.wayrad ought to be getting tired of karma fortunes by now.wayrad ought to be getting tired of karma fortunes by now.wayrad ought to be getting tired of karma fortunes by now.wayrad ought to be getting tired of karma fortunes by now.wayrad ought to be getting tired of karma fortunes by now.
 
Posts: 547
Karma: 1121392
Join Date: May 2008
Location: USA
Device: Galaxy Nexus
Sounds neat. I've been using Pythonwin as a front end for those scripts, but your idea sounds more convenient.
wayrad is offline   Reply With Quote
Old 04-26-2009, 12:49 PM   #4
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 38,536
Karma: 19637653
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 1, iPhone 5
Personally, I prefer to use the command line for these Python scripts.
JSWolf is offline   Reply With Quote
Old 04-26-2009, 02:18 PM   #5
Dave_S
What Title ?
Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.
 
Posts: 1,325
Karma: 1856232
Join Date: Jan 2009
Location: Bavaria Germany
Device: Sony Experia Z Ultra
Quote:
Originally Posted by JSWolf View Post
Personally, I prefer to use the command line for these Python scripts.
Spoken like a true retro-head.

Since a lot of the confusion about using those scripts seem to come from people who don't know the command line or path requirements, a GUI like this could probably benefit a great many people. FWIW, I do like the command line myself too, and when I write my own C code, I write just for that environment. It is sooo much simpler for the coder to just concentrate on the algorithm without the GUI code.
Dave_S is offline   Reply With Quote
Old 04-26-2009, 10:13 PM   #6
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 38,536
Karma: 19637653
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 1, iPhone 5
Quote:
Originally Posted by Dave_S View Post
Spoken like a true retro-head.

Since a lot of the confusion about using those scripts seem to come from people who don't know the command line or path requirements, a GUI like this could probably benefit a great many people. FWIW, I do like the command line myself too, and when I write my own C code, I write just for that environment. It is sooo much simpler for the coder to just concentrate on the algorithm without the GUI code.
It also means they'll never learn the command line which is not a good thing.
JSWolf is offline   Reply With Quote
Old 04-26-2009, 10:46 PM   #7
sherman
Addict
sherman can bend spoons with a thought.sherman can bend spoons with a thought.sherman can bend spoons with a thought.sherman can bend spoons with a thought.sherman can bend spoons with a thought.sherman can bend spoons with a thought.sherman can bend spoons with a thought.sherman can bend spoons with a thought.sherman can bend spoons with a thought.sherman can bend spoons with a thought.sherman can bend spoons with a thought.
 
Posts: 279
Karma: 134960
Join Date: Sep 2008
Location: Auckland - NZ
Device: Sony PRS-505/SC, B&N Nook, Sony PRS-650/BC, Kobo Glo
Just a quick update.

wallcraft had a good idea that I am going to implement. I will create a new program that is as generic as possible. The program accept any script or CLI app that asks for (almost) any combination of INPUT OUTPUT OPT1 OPT2.

I will start working on it this evening.

In the meantime, if anyone wants me to post what I currently have, feel free to request away.
sherman is offline   Reply With Quote
Old 04-27-2009, 02:04 AM   #8
sherman
Addict
sherman can bend spoons with a thought.sherman can bend spoons with a thought.sherman can bend spoons with a thought.sherman can bend spoons with a thought.sherman can bend spoons with a thought.sherman can bend spoons with a thought.sherman can bend spoons with a thought.sherman can bend spoons with a thought.sherman can bend spoons with a thought.sherman can bend spoons with a thought.sherman can bend spoons with a thought.
 
Posts: 279
Karma: 134960
Join Date: Sep 2008
Location: Auckland - NZ
Device: Sony PRS-505/SC, B&N Nook, Sony PRS-650/BC, Kobo Glo
Quote:
Originally Posted by sherman View Post

I will start working on it this evening.
And then again, I might just read a book instead.
sherman is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to use python script with windows xp tuufbiz1 Other formats 12 01-08-2011 09:22 AM
The Idiot's Guide to running Igorsk's Python Scripts Nate the great Workshop 9 05-22-2010 01:17 PM
GUI doesn't show up in Windows morphine Calibre 3 09-04-2009 06:44 AM
Python 261 In Windows Problems jwsheets Kindle Formats 3 08-14-2009 10:08 AM
using python with windows xp tuufbiz1 Kindle Formats 10 05-06-2009 12:53 AM


All times are GMT -4. The time now is 08:53 AM.


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