Thread: Ereader2Html
View Single Post
Old 02-26-2009, 05:33 PM   #24
Grimholtt
Junior Member
Grimholtt began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Feb 2009
Device: iPhone
Quote:
Originally Posted by wallcraft View Post
In a standard terminal window (not a python editing or debugging window) try just the command with no arguments:
Code:
python ./ereader2html.py
If that works, try the full command line.

If you make ereader2html.py executable you can probably drop the python, but it should not cause problems.
Hi guys.

Late coming to the game but I have been attempting to convert a ereader downloaded DRM .pdb file to html following these steps.

I tried this:
Code:
python ./ereader2html.py
and I got this:
Code:
python ./ereader2html.py
   File "./ereader2html.py", line 296
      print "Flags: 0x%X" % self.flags

SyntaxError: invalid syntax
Is the ereader2html.py corrupt that I downloaded? I went to the site and when it downloaded, it downloaded as a .txt. I opened it and saved as a .py. Does that have any adverse effect on it?

Thanks in advance guys.
Grimholtt is offline   Reply With Quote