[Python-3000] Octal

Nick Coghlan ncoghlan at gmail.com
Wed Mar 14 12:17:12 CET 2007


Chris Rebert wrote:
> though a standard library function to convert arbitrary base 
> representations of ints to ints might be useful.

 >>> int('beef', 36)
531879

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
---------------------------------------------------------------
             http://www.boredomandlaziness.org


More information about the Python-3000 mailing list