Closed kevinyjiang closed 3 years ago
pdfkit.from_string("hello world", "PATH/TO/FOLDER/WHERE/YOU/CAN/WRITE/out.pdf", options=options)
Are you really studying in the University of Columbia? If so, I won't recommend my kids to go there.
Please, close the Issue.
@AcckiyGerman It's "Columbia University" you dick.
the documentation should specify the "file" argument can be an absolute path.
Oh, sorry @columbia, I actually wanted to insult the guy's "senior" ego, nothing more.
When such a "senior" comes to the interview and can't write FuzzBuzz, what do you do then? Stroke his head and give him a higher position?
the documentation should specify the "file" argument can be an absolute path.
This is not a secret for anybody, who ever wrote open()
in python.
I dont feel a need to specify that paths can be both relative or absolute, it's a default behavior in almost any library. If it was only relative OR absolute - sure, this needs to be specified in README, closing since the issue is answered.
Sorry that it took so long for me to get to it...
Hi all, is there any way to specify a specific directory to output the PDFs to? I supposed you could just move them afterwards but it would be nice to export them directly to another directory.
I tried pdfkit.from_string(output, "./pdfs/out.pdf", options=options) but get this error:
Thanks in advance!