Flask app tutorial, part 1

preview_player
Показать описание
Using a single CSV file, you can generate a website with dozens or hundreds of pages using one HTML template. Flask is a Python web framework. This tutorial assumes basic familiarity with Python and a previous introduction to Flask (including install).

0:26 What is a template?
1:19 Walkthrough of presidents app
2:04 Starting with a CSV file
3:37 The project folder structure
15:06 How to bring in data from the CSV
18:09 How the list of dictionaries works
22:21 The "integer not str" error
23:43 Using list indexes to retrieve data
26:06 Explaining the dictionary for one president

Рекомендации по теме