Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
python_wiki:list_of_dictionaries_with_a_list_inside [2016/12/01 22:42] billdozor created |
python_wiki:list_of_dictionaries_with_a_list_inside [2019/05/25 23:50] (current) |
||
---|---|---|---|
Line 5: | Line 5: | ||
Code snippet showing a concept in which there is a list of dictionaries. Inside the dictionary, one of the values of a key is a list. | Code snippet showing a concept in which there is a list of dictionaries. Inside the dictionary, one of the values of a key is a list. | ||
- | This could come on handy to store a list of groups. | + | This could come in handy to store a list of groups. |
* Each group in the list would contain a dictionary, with key/value pairs that would represent the group name and member list. | * Each group in the list would contain a dictionary, with key/value pairs that would represent the group name and member list. | ||
* The member list would then need to be a list of all users in the group. | * The member list would then need to be a list of all users in the group. |