Durchsuchen nach
Tag: English

Python 3.13 How to check how many pages a PDF file has

Python 3.13 How to check how many pages a PDF file has

In order to do this, you need the Python module PyPDF2. You install it with pip3 install PyPDF2 Then it is important for this code here, you have the version PyPDF2 Version 3.0.1 If not then you have to update the module because the programmer of the tool has changed a command within the module In the foreign version the command PdfFileReader was the correct command but now in version 3.0.1 the command PdfReader is the correct one, otherwise this…

Weiterlesen Weiterlesen