|
| 1 | +#!/usr/bin/env python |
| 2 | + |
| 3 | +""" |
| 4 | +sample data for persistence/serialization examples |
| 5 | +this version is flat for saving in CSV, ini, etc. |
| 6 | +""" |
| 7 | + |
| 8 | +AddressBook = [ {'first_name': "Chris", |
| 9 | + 'last_name': "Barker", |
| 10 | + 'address_line_1':"835 NE 33rd St", |
| 11 | + 'address_line_2' : "", |
| 12 | + 'address_city' : "Seattle", |
| 13 | + 'address_state': "WA", |
| 14 | + 'address_zip': "96543", |
| 15 | + 'email' : "PythonCHB@gmail.com", |
| 16 | + 'home_phone' : "206-555-1234", |
| 17 | + 'office_phone' : "123-456-7890", |
| 18 | + 'cell_phone' : "234-567-8901", |
| 19 | + }, |
| 20 | + |
| 21 | + {'first_name': "Fred", |
| 22 | + 'last_name': "Jones", |
| 23 | + 'address_line_1':"123 SE 13th St", |
| 24 | + 'address_line_2' : "Apt. 43", |
| 25 | + 'address_city' : "Tacoma", |
| 26 | + 'address_state': "WA", |
| 27 | + 'address_zip': "93465", |
| 28 | + 'email' : "FredJones@some_company.com", |
| 29 | + 'home_phone' : "510-555-1234", |
| 30 | + 'office_phone' : "564-466-7990", |
| 31 | + 'cell_phone' : "403-561-8911", |
| 32 | + }, |
| 33 | + |
| 34 | + {'first_name': "Nancy", |
| 35 | + 'last_name': "Wilson", |
| 36 | + 'address_line_1':"8654 Walnut St", |
| 37 | + 'address_line_2' : "Suite 567", |
| 38 | + 'address_city' : "Pasadena", |
| 39 | + 'address_state': "CA", |
| 40 | + 'address_zip': "12345", |
| 41 | + 'email' : "Wilson.Nancy@gmail.com", |
| 42 | + 'home_phone' : "423-321-9876", |
| 43 | + 'office_phone' : "123-765-9877", |
| 44 | + 'cell_phone' : "432-567-8466", |
| 45 | + }, |
| 46 | + ] |
| 47 | + |
0 commit comments