def toBase2(number):
    """toBase2(number): given an int/long, converts it to
    a string containing the number in base 2."""
    # From a suggestion by Dennis Lee Bieber.
    if number == 0:
        return "0"
    result = [_nibbles[nibble] for nibble in "%X"%number]
    result[number<0] = result[number<0].lstrip("0")
    return "".join(result)
toBase2(number): given an int/long, converts it to
    a string containing the number in base 2.
recipes/Python/440528_Conversion_in_base_2/recipe-440528.py