View Single Post
Old 01-06-2009, 11:34 PM   #107
pilotbob
Grand Sorcerer
pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.
 
pilotbob's Avatar
 
Posts: 19,832
Karma: 11844413
Join Date: Jan 2007
Location: Tampa, FL USA
Device: Kindle Touch
Quote:
Originally Posted by frecklpwr View Post
Thanks. Tried that and got this

~/downloads christina$ python kindlefix.py Natural-583. prc F#####BY
kindlefix.py:61: FutureWarning: hex/oct constants > sys.maxint will return positive values in Python 2.4 and up
if off1==0xFFFFFFFF or off1==0:
Traceback (most recent call last):
File "kindlefix.py", line 2, in ?
import prc, sys, struct
ImportError: No module named prc
Not sure if this is a type or a cut and paste. But, if it is a paste it looks like you have an extra space in your file name.


python kindlefix.py Natural-583. prc F#####BY

should be:

python kindlefix.py Natural-583.prc F#####BY

If there really is a space in the file name use:

python kindlefix.py 'Natural-583. prc' F#####BY

BOb
pilotbob is offline   Reply With Quote