Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

rename key in dict python

mydict[k_new] = mydict.pop(k_old)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #rename #key #dict #python
ADD COMMENT
Topic
Name
3+5 =