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".

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to