View Single Post
Old 02-05-2012, 04:58 PM   #290
dch
Junior Member
dch began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Feb 2012
Location: Virginia, US
Device: kindle 2.5, Asus Transformer Prime
Noob here, trying to use this script to pull a pdf out of a .azw4 file. When I run in python 3.2, I get the error:
' C:\Python32>python mobiunpack32.py POM.azw4
' File "mobiunpack32.py", line 323
' print "multiple values: metadata[%s]=%s'" % (name, metadata[name])
' ^
' SyntaxError: invalid syntax

Where I have the mobiunpack32.py and POM.azw4 in the same directory as the python 3.2 installation. Any advice on what I should be doing?

Last edited by dch; 02-05-2012 at 04:59 PM. Reason: correcting format
dch is offline   Reply With Quote