PyPDF 2 Decrypt Not Working

前端 未结 7 1246
悲哀的现实
悲哀的现实 2020-12-15 20:38

Currently I am using the PyPDF 2 as a dependency.

I have encountered some encrypted files and handled them as you normally would (in the following code):

<         


        
相关标签:
7条回答
  • 2020-12-15 21:11

    Implement qpdf using python with pikepdf library.

    import pikepdf
    
    pdf = pikepdf.open('unextractable.pdf')
    pdf.save('extractable.pdf')
    
    0 讨论(0)
提交回复
热议问题