Running this code will result into following error: PS D:\Project WebAuthn> & "D:/Program Files/Inkscape/bin/python.exe" c:/Users/USER/Desktop/Python-Projekte/gtk.pyįile "c:\Users\USER\Desktop\Python-Projekte\gtk.py", line 1, in Response = HttpResponse(mimetype='application/pdf') # The pdf is now a bytestring that can be returned instead of saving to disk. Pdf = cairosvg.svg2pdf(bytestring=svg.encode("utf-8")) ![]() I tried to run following code from here: import cairosvg
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |