create pdf
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
from weasyprint import HTML
|
||||
|
||||
def htmltopdf(html, file):
|
||||
HTML(string=html).write_pdf(file)
|
||||
Reference in New Issue
Block a user