def binize(n=0, size=8):
    """
    Returns the expanded binary unicode string equivalent of integer n,
    left zero padded using size number of bits

    example binize(11, 4) returns u'1011'
    """
    return "".join([str((n >> y) & 1) for y in range(1-size, -1, -1)])
dataset/ETHPy150Open ioflo/ioflo/ioflo/aid/byting.py/binize/swapped operands of `-`