Re: Multimapping and string converting

2008-09-19 Thread Gabriel Genellina
En Fri, 19 Sep 2008 10:59:26 -0300, Ron Brennan <[EMAIL PROTECTED]> escribió: Hello, I have a multimap dictionary with a 1 Key to N values. I want to convert the N values to a string to be used elsewhere in my program. So I have dict[(1,[1, 2 ,3 ,4])] which I have sorted When I do a print

Multimapping and string converting

2008-09-19 Thread Ron Brennan
Hello, I have a multimap dictionary with a 1 Key to N values. I want to convert the N values to a string to be used elsewhere in my program. So I have dict[(1,[1, 2 ,3 ,4])] which I have sorted When I do a print ''.join(str(dict.value())) I get [1, 2, 3, 4] as an output when I really want 1 2 3