Create PDF with Python | Part 3

Опубликовано: 15 Февраль 2021
на канале: Chart Explorers
33,742
505

How to create a pdf with Python using the simple library FPDF2. This is part 3 of a 5 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 review how to add text to your pdf from a text file, create chapters, and chapter titles.

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

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

Part 2 of this tutorial:
   • Create PDF with Python | Part 2  

Join my Discord Server
  / discord  

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

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

0:00 Intro
0:37 Script Changes
1:15 Centering Text
2:37 Centering Explained
4:28 Title Banner
6:40 Footer
7:38 Reading in Text
10:24 Chapters
11:00 Chapter Title
12:30 Print Chapter
14:15 Debugging / Walkthrough