You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
from weasyprint import HTML
|
|
|
|
# Let weasyprint deal with reading the files and give the filenames
|
|
HTML(filename='hello-world.html').write_pdf('hello-world.pdf')
|