[Zope] Int to String

J. Cameron Cooper jccooper@rice.edu
Thu, 02 Aug 2001 14:17:25 -0500


>
>
>How can I turn my Int into a string? Or how can I make this easier?
>
Don't know about the 'easier' bit, but to turn any other (primitive) 
data type into a string, you can enclose it in backwards single quotes. 
You know, this thing:

`

Usually lives under the tilde (~) on standard US keyboards.

It's really a Python thing you're asking. There's probably some function 
in the string library that does this too (I'm too lazy to look it up), 
if you think those silly quotes are inelegant.

            --jcc
      (its all in the quoting)