How to Generate File Reports Using Python's string.Template Class

Опубликовано: 25 Октябрь 2021
на канале: Florian Dahlitz
1,233
8

In this Python tutorial, you will learn how to automatically generate file reports using Python's string.Template class.

First, we'll have a look at the motivation behind using the string.Template class from the standard library.

Secondly, I will give you an introduction to the use case and the issue we are facing.

Subsequently, a file generation pipeline is implemented.

Lastly, we will have a look at the final result and at safe substitution.

GitHub Repository
https://github.com/DahlitzFlorian/gen...

SUBSCRIBE to become a Pythonista!
   / @floriandahlitz  

Follow me on Twitter!
  / dahlitzf  

Check out my website for more!
https://florian-dahlitz.de/become-a-p...

Like what you see? Consider sponsoring me via Patreon!
  / floriandahlitz  

~~~~~~~~~~ OUTLINE ~~~~~~~~~~
00:00 Introduction
00:41 Motivation
01:47 The use-case
02:49 The template
03:58 Reading the data
05:33 Generate the HTML string
08:28 Create the final report
11:28 Safe substitution

#python


На этой странице сайта вы можете посмотреть видео онлайн How to Generate File Reports Using Python's string.Template Class длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Florian Dahlitz 25 Октябрь 2021, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 1,233 раз и оно понравилось 8 зрителям. Приятного просмотра!