DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
3+5 =
Submit