variable inside a paragraph in reportlab

If you are using Python 3.6 and above, you could try f-strings:

p = Paragraph(f"""This is {a}""", style=None)

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top