def GetManyBytes(ea, size, use_dbg = False):
    if use_dbg:
        return idaapi.dbg_read_memory(ea, size)
    else:
        return idaapi.get_many_bytes(ea, size)
Return the specified number of bytes of the program
dataset/ETHPy150Open EiNSTeiN-/idapython/python/idc.py/GetManyBytes