Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #convert2font_pre_written_from_Script
- #Importing the FPDF library.
- from fpdf import FPDF
- pdf = FPDF()
- pdf.add_page()
- pdf.set_font("Arial", size = 15)
- pdf.cell(200, 10, txt = "Python Pool",
- ln = 1, align = 'C')
- # add another cell
- pdf.cell(200, 10, txt = "This is where you fuck a specimen not from this world",
- ln = 2, align = 'C')
- pdf.output("PP.pdf")
Add Comment
Please, Sign In to add comment