Closed anapeksha closed 4 years ago
Don't open the book
. Just pass the book
string directly to the PdfFileReader
class. The class PdfFileReader
takes the path of the PDF file (string), not a binary file.
You opened the file in read-binary format. open('file_name", 'r') should work just as fine.
code 139 (interrupted by signal 11: SIGSEGV) error returned always