UnsupportedOperation: Can't Do Nonzero End-relative Seeks : Python - PyPDF2
Can you guys fix the problem? I'm unable to read an arabic PDF file. I don't know what is the issue. Thanks import PyPDF2 def main(): with open('arabic_text.pdf', encoding='
Solution 1:
Open the file with rb mode for the usage in PDF format. Example:
with open("arabic_text.pdf", 'rb'):
Post a Comment for "UnsupportedOperation: Can't Do Nonzero End-relative Seeks : Python - PyPDF2"