Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

dict sort

[(k,di[k]) for k in sorted(di.keys())] 
Source by segmentfault.com #
 
PREVIOUS NEXT
Tagged: #dict #sort
ADD COMMENT
Topic
Name
9+9 =