Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/python-3.x/15.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 3.x 使用pypandoc将epub转换为html文件_Python 3.x - Fatal编程技术网

Python 3.x 使用pypandoc将epub转换为html文件

Python 3.x 使用pypandoc将epub转换为html文件,python-3.x,Python 3.x,我试图将epub文件转换为HTML文件,但输出仅为文本HTML。此文件中没有图像。如何用图像转换HTML import pypandoc html=pypandoc.convert_file("corona.epub",'html',outputfile="corona1.html") assert html==""

我试图将epub文件转换为HTML文件,但输出仅为文本HTML。此文件中没有图像。如何用图像转换HTML

import pypandoc
html=pypandoc.convert_file("corona.epub",'html',outputfile="corona1.html")
assert html==""