I am a beginner at Python and have implemented the example on " Line breaks and colors" from PyFPDF. With a few tweaks I was able to get it to work.
However, I am getting this error:
DeprecationWarning: “dest” parameter is deprecated, unused and will soon be removed
The document is created correct, but I’d just like the code to execute without any warnings. Any idea how to fix this line, so I don’t get the warning?
Thanks in advance for all responses.
It is the last line from this section:
pdf = PDF()
pdf.print_chapter(1, ‘A RUNAWAY REEF’, ‘20k_c1.txt’)
pdf.print_chapter(2, ‘THE PROS AND CONS’, ‘20k_c2.txt’)