import copy id_list=[1,2,3,4,5] dft={'id':'','date':'2013-10-29'} result =[] for i in id_list: res = dft #此处是浅拷贝 res['id']=i ## print res['id'],res result.append(copy.deepcopy(res)) #使用深拷贝,追加每次的值 ## print result ## print 'res',res ## print 'dft',dft ## for i in result: print i print result