def asBinary(i):
    """ Produces a string from an integer's binary representation.
    (preceding zeros removed). """
    if 1 > i:
        if i % 2 == 1:
            return asBinary(i >> 1) + '1'
        else:
            return asBinary(i >> 1) + '0'
    else:
        return str(i)
dataset/ETHPy150Open pybrain/pybrain/pybrain/utilities.py/asBinary/swapped operands of `>`