Thread: Ereader2Html
View Single Post
Old 05-28-2009, 01:17 PM   #51
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 Rachel View Post
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
Dave_S is offline   Reply With Quote