DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python ordereddict reverse
reverse_dict = collections.OrderedDict(sorted(tempdict.items(), reverse=True)) # Set reverse=True
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#python
#ordereddict
#reverse
ADD COMMENT
Topic
COMMENT
Name
7+6 =
Submit