danb_83 at yahoo.com
Wed Jun 8 02:34:41 CEST 2005
Douglas Soares de Andrade wrote:
> Hi !
> How to work with binary numbers in python ? Is there a way to print a number
> in its binary form like we do with oct() or hex() ?
> Im doing a project that i have to work with binaries and i tired of convert
> numbers to string all the time to perform some operations.
> I searched about it in many places like python.org and google, but not found
> anything useful.
Search for "itoa".
More information about the Python-list