Answer the question
In order to leave comments, you need to log in
Is it possible to simulate printing - save as PDF?
Chrome has a cool feature that allows you to save a page as a PDF - File. In my case it works quite well, the question is: how can this be simulated with Python?
Answer the question
In order to leave comments, you need to log in
import pdfkit
pdfkit.from_url('http://google.com', 'google.pdf')
IOError: No wkhtmltopdf executable found: ""
If this file exists please check that this process can read it. Otherwise please install wkhtmltopdf - https://github.com/JazzCore/python-pdfkit/wiki/Installing-wkhtmltopdf
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question