On 22/05/07, John Washakie <[EMAIL PROTECTED]> wrote:
> I have a Dictionary, that is made up of keys which are email
> addresses, and values which are a list of firstname, lastnamet,
> address, etc...
>
> If I run the following:
>
> last = {}
[...]
> for k,v in last:
> print "Email: %s , ha
I have a Dictionary, that is made up of keys which are email
addresses, and values which are a list of firstname, lastnamet,
address, etc...
If I run the following:
#! /bin/python
import csv
last = {}
rdr = csv.DictReader(file("reg-data.csv"))
for row in rdr:
#print row
last[row