I want to create a temp dictionary in each loop and then put it in a list so I can have a list of dicts. Here is the code:

```
dicts=[]
tempdic={}
for i in range(0, len(self.info)):
    tempdic.clear()
    tempdic['title']=str(self.info[i]['title'])
    tempdic['desc']=str(self.info[i]['desc'])
    dicts.append(tempdic)

```

The problem is, when I change the tempdic in each loop, the contents of `dicts` (list) also changes with that so that, at the end, I have a list with several dicts that all have the same contents.