import copy
class Example:
def do_something(self): print("Doing a function")
a = Example()
b = copy.deepcopy(a);
b.do_something()
# >>> Doing a function
list1 = [['a', 8, 7], [6, 5, 4], [3, 2, 1]]
list2 = list1
list2[0][0] = 9
print('Old List:', list1)
print('ID of Old List:', id(list1))
print('New List:', list2)
print('ID of New List:', id(list2))