Documentation
Python uses pdfkit to generate pdf [python]
Python uses pdfkit to generate pdf [python]
1. Install pdfkit
pip3 install pdfkit
Code:
html = '
'
'< body>
%s