itoa on python?

Amanuel Zmelik AmanuelZmelik at news.vex.net
Sun Nov 14 04:02:34 EST 1999


On Sun, 14 Nov 1999 08:52:03 GMT, Gusdvg <gusdvg at usa.net> wrote:
>How can I change an integer (or any other type of number) to a string?

Here's a few......

>>> str(1234)
'1234'
>>> `1234`
'1234'
>>> "%s" % 1234
'1234'






More information about the Python-list mailing list