FattView/fpdf/tutorial/tuto1.py


Home Back

from fpdf import FPDF

pdf=FPDF()
pdf.add_page()
pdf.set_font('Arial','B',16)
pdf.cell(40,10,'Hello World!')
pdf.output('tuto1.pdf','F')

Powered by Code, a simple repository browser by Fabio Di Matteo