Create PDF with Python | Part 2

Опубликовано: 08 Февраль 2021
на канале: Chart Explorers
49,324
697

How to create a pdf with Python using the simple library FPDF2. This is part 2 of a 4 part series where we go over how to create a pdf with Python and eventually automate the creation of reports and invoices. In this video we go over how to add an image, auto page breaks, headers, and footers (including page number and total page count).

Part 1 of this tutorial:
   • Create PDF with Python | Part 1  
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

$15 off Annual Dataquest subscription
app.dataquest.io/referral-signup/qybqz3r8/
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

Merch: https://bit.ly/PythonAndDataMerch
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

Consider subscribing for weekly tips, tricks, and tutorials.
   / @chartexplorers  

Join my Discord Server
  / discord  

Check out the official tutorial and documentation that these videos are based on:
https://pyfpdf.github.io/fpdf2/index....
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

Link to Fox image (actually it's a raccoon)
https://pixabay.com/vectors/animal-fa...
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

Github
https://github.com/bvalgard/create-pd...
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

0:00 Intro
0:46 Code Review
1:17 Many lines
2:58 Page Break
3:52 Break Margin
4:11 Header Footer Overview
4:48 Add Header
8:43 Add Footer
9:39 Add Page Number