Re: [Tutor] Convert integer number to binary representation

2005-11-24 Thread John Fouhy
On 25/11/05, Alberto Troiano <[EMAIL PROTECTED]> wrote: > I want to know how can I convert an integer number to a binary number. > Like this example: Hi Alberto, There's no builtin function to do this (like there is for hex or oct). There are a few recipes in the Cookbook on ActiveState that wil

[Tutor] Convert integer number to binary representation

2005-11-24 Thread Alberto Troiano
Hey all I want to know how can I convert an integer number to a binary number. Like this example: +10 (decimal representationinteger) = 1010 (binary representation) Thanks in advanced Alberto ___ Tutor maillist - Tutor@python.org http://mai