Probably a stupid newbie question....i got to ask

Courageous jkraska1 at
Thu Aug 9 06:33:48 CEST 2001

>How do you use string.atoi to convert a variable integer to a string?

You need to learn about the "coerce to string" operation:

>>> i = 3
>>> s = `i`
>>> s

Note the backquotes.


More information about the Python-list mailing list