determining type

Alex alex at somewhere.round.here
Wed Mar 22 12:56:13 EST 2000


> 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.



More information about the Python-list mailing list