Jun-29-2022, 02:50 PM
(This post was last modified: Jun-29-2022, 02:50 PM by deanhystad.)
Please wrap posted code in Python tags. There is a button in the editor for doing this.
Variables in Python are really just names used as convenient handles to reference Python objects. All_Items_List_Copy is a variable that references a list object, the same list object referenced by the variable All_Items_List. Use All_Items_List_Copy = All_Items_List.copy() if you want the two variables to reference different list objects.
Variables in Python are really just names used as convenient handles to reference Python objects. All_Items_List_Copy is a variable that references a list object, the same list object referenced by the variable All_Items_List. Use All_Items_List_Copy = All_Items_List.copy() if you want the two variables to reference different list objects.