DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
sort list of dictionaries by key python
newlist = sorted(list_to_be_sorted, key=lambda k: k['name'])
PREVIOUS
NEXT
Tagged:
#sort
#list
#dictionaries
#key
#python
ADD COMMENT
Topic
COMMENT
Name
2+2 =
Submit