On 4/5/06, Keo Sophon <[EMAIL PROTECTED]> wrote: > > how to convert an integer number to string?
Use str(object) to convert an object to a string. For example: >>> str(42) '42' The reverse function is int(x) to convert a string to an integer: >>> int('42') 42 _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor