* Rohan Deshpande <rohan.deshpande at gmail.com> [070428 12:58]: That assumes he wants to output all elements. Andreas > Or, get rid of the extra variable and do: > > for i in m.items(): > print i[0] + ',' + ",".join(i[1]) > > On 4/27/07, Bill Burns < [1]billburns at pennswoods.net> wrote: