
: Ebook-edit in calibre automation with python I want to write a python automation program for merge html files in a epub using ebook-edit(in MacOS sub directory) in calibre. I know how to do
I want to write a python automation program for merge html files in a epub using ebook-edit(in MacOS sub directory) in calibre. I know how to do it manually but I want to it many epub files automatically in python.
What should I do after the opening the epub file with ebook-edit?
import os, shlex, keyboard, time
from subprocess import Popen, PIPE
filename = 'test.epub'
command_line = '/Applications/calibre.app/Contents/MacOS/ebook-edit '+ '"'+ filename+ '"'
args = shlex.split(command_line)
p = Popen(args, stdin=PIPE)
Free books android app tbrJar TBR JAR Read Free books online gutenberg
More posts by @Tracey

: What are the differences between the FireOS Kindle App and the Android Kindle App? I've recently been working on an ebook that I intend to self-publish. I was testing it using the Kindle

: Pdf docs not viewable on amazon cloud "My Send-to-Kindle Docs" folder available at https://www.amazon.com/clouddrive/folder/ does not contain docs I've converted to kindle via sending a pdf to kindle
1 Comments
Sorted by latest first Latest Oldest Best
You are better off noting that Calibre is a python app. First look at its command line options. Then if that is not enough create an addin or just code that uses calibre python code.
One way might be to zip the HTML files together and pass that as the input file to ebook-convert see calibre documentation manual.calibre-ebook.com/generated/en/ebook-convert.html#recipe-input-options
Free books android app tbrJar TBR JAR Read Free books online gutenberg