If your HTML data is stored in a Python variable, you can use from_string() function and convert the HTML string to PDF. import pdfkit var htmlstr = '<h2> ...
確定! 回上一頁