a=0100; print a ; 64 how to reverse this?

Dan Bishop danb_83 at yahoo.com
Wed Jul 18 05:54:13 CEST 2007


On Jul 17, 7:40 am, mosi <skawan... at gmail.com> wrote:
> Thank you,
> this is great,
> I thought that this should be standard in python 2.4 or 2.5 or in some
> standard library (math ???)
> Didn`t find anything.

The bin() function is slated to be added to the next version of
Python.

Why there isn't a general itoa() function, I don't know.




More information about the Python-list mailing list