On 19/08/14 23:41, Terry--gmail wrote:

Alan Guald:


for row in catalog2:
     print(row)
     for col, item in row:
         lens[col].append(len(item))

My bad, it should have been

for col, item in enumerate(row):

Sorry,

--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.flickr.com/photos/alangauldphotos

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to