Python dictionary 字典 常用法
d = {}
d.has_key(key_in) # if has the key of key_in
d.keys() # keys list
d.values() # values list
d.get(key_in) # it will return 'NoneType' if dict has no key of key_in, it will raise error with d[key_in]
if d: # if d is empty, it will be False