Open dmwyatt opened 3 months ago
Hi @dmwyatt 🙂
Note that PyFPDF
is not maintained anymore.
See #207.
fpdf2
is its successor: https://pypi.org/project/fpdf2/
On GitHub it's there: https://github.com/py-pdf/fpdf2
If you are using pip
, switching is very easy:
pip uninstall pypdf
pip install fpdf2
The output of your script will then be:
<class 'bytearray'>
You will also see a few DeprecationWarning
warnings explaining what changed compared to PyPDF 🙂