def compile(s):
    f = io.BytesIO()
    for t in s.split():
        if t in OPCODE_TO_INT:
            f.write(bytes_from_int(OPCODE_TO_INT[t]))
        else:
            t = binascii.unhexlify(t.encode("utf8"))
            # BRAIN DAMAGE: if len(t) is too much, we need a different opcode
            f.write(bytes_from_int(len(t)))
            f.write(t)
    return f.getvalue()
Registers entity to put to datastore.
dataset/ETHPy150Open maraoz/proofofexistence/pycoin/tx/script/tools.py/compile--crossover with--dataset/ETHPy150Open GoogleCloudPlatform/appengine-mapreduce/python/src/mapreduce/context.py/_MutationPool.put