Quote:
Originally Posted by toancv
I have Python installed in PC and Kindle Unpacked installed in Calibre. Is there any way to batch converting epub to azw3?
|
I've attached a simple Python 3.x script that'll convert all .epub files to .azw3 files with KindleGen and KindleUnpack. To use it simply extract convert.py and the kindleunpack folder from the attached .zip file to the folder that contains the .epub files that you want to convert and double-click
convert.py.
If you didn't install Kindle Previewer or didn't install it in the default location, you'll also need to copy
kindlegen.exe or
kindlegen to the folder.
If books fail to convert, have a look at the KindleGen warning and error messages in errors.txt. (If nothing happens after you double-click
convert.py, you'll have to manually execute the script in a command prompt/terminal window.)
BTW, the script will also add (fake) ASIN numbers to azw3 files by default. If you don't want it to add ASIN numbers, change the following line in
convert.py from:
to: