> Instead of doing: > > diz5 = {} > ... > > we'd do something like this: > > with diz5 = dbm.open('diz5, 'c'):
Sorry, I'm getting my syntax completely wrong here. My apologies. This should be: with dbm.open('diz5', 'c') as diz5: ... Apologies: I just got back from work and my brain is mush. _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor