DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python sort array of dictionary by value
my_list = sorted(my_list, key=lambda k: k['name'])
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#python
#sort
#array
#dictionary
ADD COMMENT
Topic
COMMENT
Name
6+5 =
Submit