You're replying to a comment by Peter Krumins.

July 01, 2009, 13:36

Arun, that doesn't work for negative numbers and it also does not left-fill with 0's. It also works only in Python >= 2.6. For negatives it produces bin(-x) = -bin(x).

Reply To This Comment

(why do I need your e-mail?)

(Your twitter handle, if you have one.)

Type the word "apple_143": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.