Quote:
Originally Posted by Rachel
I am in the Python interactive shell and input as follows:
python c:/Python26/Tools/scripts/ereader2html.py
I can't think of any other way of writing this so as to avoid getting Syntax error invalid syntax (and this doesn't include any errors I get when I then try to point it at the book I want to convert).
|
You do not need the Python interactive shell. Just put the ereader2html.py script in the same directory(folder) as the books that you want to convert. Open a command shell in the directory and type
ereader2html.py .
If you have Python installed correctly, then the script itself will give you an exact example of how to type the command to do the conversion. Here is an example output of doing what I just described:
Quote:
C:\eReader_Scripts>ereader2html.py
C:\eReader_Scripts\eReader2html.py:8: DeprecationWarning: the sha module is depr
ecated; use the hashlib module instead
import struct, binascii, zlib, os, sha, sys, os.path
eReader2Html v0.03. Copyright (c) 2008 The Dark Reverser
Converts eReader books to HTML
Usage:
ereader2html infile.pdb outdir "your name" credit_card_number
Note:
It's enough to enter the last 8 digits of the credit card number
|