Using pycharm to run weasyprint - how to run any of the examples?

Answered

I have installed it in Pycharm and created a weasyprint file - how to run it?

from weasyprint import HTML
HTML('http://weasyprint.org/').write_pdf('e:/weasyprint-website.pdf')
not sure what to do next
0
1 comment

Could you please describe the exact steps what you made to let me repeat them and help you in solving the problem? Thank you.

0

Please sign in to leave a comment.