Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python list deep copy

import copy

list_to_copy = ['a', 2, 'foo']

new_deepcopy = copy.deepcopy(list_to_copy)
Source by softhunt.net #
 
PREVIOUS NEXT
Tagged: #python #list #deep #copy
ADD COMMENT
Topic
Name
5+2 =