def duqnc():
SHMEMSIZE = 487438#len(str)
file_name = "coco" #这是图片字节集长度
# python读取共享内存
shmem = mmap.mmap(0, SHMEMSIZE, file_name, mmap.ACCESS_READ)
print(shmem.read(SHMEMSIZE).decode('ASCII'))
return
shmem.close()
我打算重易语言发送传输一张字节集图片过来,截图PY读取提示编码之类错误,找了好久没找到答案,麻烦各位帮帮忙