Files
resume/src/htmltopdf.py
T
2026-01-25 22:28:17 -07:00

5 lines
94 B
Python

from weasyprint import HTML
def htmltopdf(html, file):
HTML(string=html).write_pdf(file)