Skip to content Skip to sidebar Skip to footer

Pypdf's Pdffilereader() Having Problems Reading File, File Not Callable

So here is my import: from pyPdf import PdfFileWriter, PdfFileReader Here is were I write my pdf: filenamer = filename + '.pdf' pdf = PdfPages(filenamer) (great naming convention

Solution 1:

It looks like you've assigned an open file to the name file, and then you can't use the builtin any more.


Post a Comment for "Pypdf's Pdffilereader() Having Problems Reading File, File Not Callable"