itoa
Moshe Zadka
moshez at math.huji.ac.il
Mon Mar 13 20:07:02 EST 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 geocities.com>.
http://www.oreilly.com/news/prescod_0300.html
http://www.linux.org.il -- we put the penguin in .com
More information about the Python-list
mailing list