Untitled

mail@pastecode.io avatar
unknown
python
a year ago
172 B
2
Indexable
Never
from reportlab.pdfgen import canvas # pip install reportlab

my_canvas = canvas.Canvas("Hello.pdf")
my_canvas.drawString(100, 750, "Welcome to Reportlab!")
my_canvas.save()