What is the proper way of extracting the text from a book from a plugin?
I know I can do
Code:
os.system('ebook-convert' , ...
to create a temporary txt file and then read the contents of the temporary file into a string, but there is probably a better and faster way.