"Mihai Iacob" <[EMAIL PROTECTED]> wrote
> Is there a function that converts from integer to
> binary (or a module that handles this)?
Remember that integers are binary. Thats how they are stored.
What I think you want is something that will represent an
integer as a string of 1s and 0s. Somethin
At 07:27 AM 7/10/2007, Mihai Iacob wrote:
>Hello,
>
>Is there a function that converts from integer to
>binary (or a module that handles this)?
>
>The only thing close to it that i found in the manual
>is the binascii module but i can't get it to work.
Here's one:
def base10ToBaseN(n, base=2):