argparse模块:
http://wiki.jikexueyuan.com/project/explore-python/Standard-Modules/argparse.html
dict.item() 返回可遍历的键值元组数组
dict = {'Google': 'www.google.com', 'Runoob': 'www.runoob.com', 'taobao': 'www.taobao.com'}
print( "字典值 : %s" % dict.items() )# 遍历字典列表
for key,values in dict.items():
print key,values
输出是:
Google www.google.com taobao www.taobao.com Runoob www.runoob.com