摘要: <A Byte of Python> Chapter 16. What next? Problem: create your own command-line address-book program using which you can add, modify, delete or search 阅读全文
posted @ 2017-06-30 15:52 XinZhou_Annie 阅读(278) 评论(0) 推荐(0)
摘要: Output RESTART: /Users/zhouxin/Desktop/cPickle.py {'Xiaopeng Yang': (18000001219L, '18700000019@139.com')}>>> It also creates AddressList.data. About 阅读全文
posted @ 2017-06-30 15:36 XinZhou_Annie 阅读(131) 评论(0) 推荐(0)
摘要: Pairs of keys and value are specified in a dictionary by using the notation d = {key1 : value1, key2 : value2 }. one key and multi-value ab = {key1 : 阅读全文
posted @ 2017-06-30 15:05 XinZhou_Annie 阅读(293) 评论(0) 推荐(0)