On Dec 10, 8:48 am, Dirk Nachbar <dirk... at gmail.com> wrote: > I want to take a copy of a list a > > b=a > > and then do things with b which don't affect a. > > How can I do this? > > Dirk Not knowing the particulars, you may have to use: import copy b=copy.deepcopy(a)