Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to copy one dictionary to another in python

import copy

dict2 = copy.deepcopy(dict1)
 
PREVIOUS NEXT
Tagged: #copy #dictionary #python
ADD COMMENT
Topic
Name
1+8 =