1. you must install the module library pdfkit. ... config = pdfkit.configuration(wkhtmltopdf=path_wk) pdfkit.from_file('test.html', r'D:\test' + id +'.pdf', ...
確定! 回上一頁