Differences
This shows you the differences between two versions of the page.
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 [2016/12/01 22:42] billdozor [List Of Dictionaries With A List Inside] |
||
---|---|---|---|
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. |