Moshe Zadka moshez at
Tue Mar 14 02:07:02 CET 2000

On Mon, 13 Mar 2000, Stuart Reynolds wrote:

> Is there an integer to ascii (itoa) function in Python? I need to
> convert integers into various different bases (but to binary, in
> particular). Most languages come provided with an itoa-like function but
> I can't seem to find one in the Python API.

Have a look at the builtin "str" function
Moshe Zadka <mzadka at>. -- we put the penguin in .com

More information about the Python-list mailing list