An integer can be formatted as follows: >>> '%d' % 123 How is an infinite precision long integer formatted into a string? If The above code: >>> '%d' % 123123123123123123L produces an OverflowError exception. Surely there is something simple I am overlooking in the manual, but none of the other format specifiers described seemed to be appropriate. TIA