What is a good method for converting an HTML string file to PDF? I am trying to create a simple tool that creates a PDF report using some user inputs and an HTML template. I want to distribute this tool so that other coworkers can use it.
Right now I am trying to use pdfkit and wkhtmltopdf. The issue is that I can only get this code to work when I specify the path to the wkhtmltopdf.exe file. When I package the code using PyInstaller, other users will not be able to use the program because they do not have the HTML template file or a path to wkhtmltopdf. Any ideas on how to resolve this or are there any alternative python packages/methods that I should use?