import json f = open('addressbook.json') for addressbook in json.load(f): print addressbook['name'] print addressbook['phone']
沒有留言:
張貼留言