View Single Post
Pushwall's Avatar
Posts: 373 | Thanked: 110 times | Joined on Jul 2007
#12
Originally Posted by GeraldKo View Post
What I haven't figured out, I think, is: How do you tell the script What File to act on? Or is there something else I've done wrong?

Any help? Thanks in advance!
OMG this thing works!

Run the PythonRun Editor. Read the Intro of the Non-Programmers Guide in the Help section. This shows you how to save and run scripts. Run the ereader2html.py script (the script text file you downloaded from the blog and renamed). This will give you the syntax for conversion:
Usage:
ereader2html infile.pdb outdir "your name" credit_card_number

So what you do is run that script again, and in the arguments line put in:
infile.pdb outdir "your name" credit_card_number

FWIW, my ereader book 'WorldWarZ.pdb' I put in my script directory 'c:\Files' and I had created a directory called 'ereader' under my script directory for the output. And you only need the last 8 digits of your credit card number. So my arguments line looked something like this:
WorldWarZ.pdb ereader "Push Wall" 12345678

Good luck!
 

The Following User Says Thank You to Pushwall For This Useful Post: