摘要:
#enconding = utf-8a = [1,2,3]b = ['a','b','c']## 并行遍历zip(a,b)for (x,y) in zip(a,b): z[x] = ydict(zip(a,b)) ## zip 构造字典map(None,a,b)## 重新运算出参数的内容,把字符串转化成对象 [pickle module]eval('a') # [1, 2, 3]## append 在原处修改 , 返回 None ---> sort()a.append('a')a # [1, 2, 3, 阅读全文
![](/skins/gray/images/separator.gif)