how to add dynamically generated pdf file to zipfile Python?
08:28 27 Feb 2017
z = zipfile.ZipFile("zipfile.zip", "w")
z.write(filename)

It takes string as an argument that is actually path of that file to be add to the zip. But I want to add dynamically generated file.

python python-2.7 python-pdfkit python-zipfile