filmov
tv
Python Flask WT-Forms: Five Guys Example -- Getting Choices From JSON (Version 3)
Показать описание
In this video we continue our series working on the "Five Guys" example using Python, Flask, and WT-Forms. Again we focus on reading a JSON file and using the data therein to establish the "choices" for various interface components. We write a function to turn a list/array from JSON of either dictionaries/objects or strings. We also show how the outcome could be achieved using list comprehension.