View Single Post
Old 10-16-2014, 02:13 PM   #1066
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,893
Karma: 6120478
Join Date: Nov 2009
Device: many
Hi AcidWeb,

Quote:
Originally Posted by AcidWeb View Post
Well... I consider many coding standards used here as messy but this is not my project so I will just shut up and and focus on making this code work on both Python versions.
The core already does work on both. The only pieces remaining are the gui front-end KindleUnpack.pyw and its support code: scrolltextwidget, askfolder, and prefs.

I have already started working on that as well.

Quote:
Edit:
Not bad. CLI version look good.
I presume that not converted prints was caused by fact that you not touched GUI part yet.
Most probably, see above.

Quote:
I hate Tk so no help from me there. Sorry.
No problems, I have done the core code, doing the rest should not be a big problem.

Quote:
One small trap: unescape function used in mobi_opf.py will be removed in Python 3.5.
Thanks for the head's up. I see I can now use:

import html
html.unescape()

in its place so I will simply do that as the compatibility_utils already handles most of that and can be easily modified to do that as well.

Take care,

KevinH
KevinH is offline   Reply With Quote