[Python-ideas] Add a builtin method to 'int' for base/radix conversion

Greg Ewing greg.ewing at canterbury.ac.nz
Mon Aug 31 10:21:45 CEST 2009


Carl Johnson wrote:
> How would it work for bases beyond 10?

If you keep going through the alphabet you can get up
to base 36. If anyone cares beyond that, it could take
a string of characters to use for digits. With Unicode
that would provide quite a wide range. :-)

-- 
Greg



More information about the Python-ideas mailing list