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. Stuart