Convert multiple HTML files to PDF with wkhtmltopdf
I tried to follow a tutorial and programmed something via Python to convert an HTML file to PDF. In my case "sample.html". import pdfkit #Define path to wkhtmltopdf.exe path_to_wkhtmltopdf = r'C:Program Fileswkhtmltopdfbinwkthmltopdf.exe' #Define path to HTML file path_to_file = 'sample.html'…