> Maybe I'm missing something, but how does this help if it's an integer > rather than a string? Well, the output of "print dictionary_str ({'foo' : 1, 'who' : 2})" is { 'who' : 2, 17 : 1, } ... with the integers not quoted. Is that not what you want? Alex.