Administrator
2024-04-23 d30c3d2335348d65878735b18aaf2d1f4537db1c
1
2
3
4
5
6
7
8
9
import marshal
import multiprocessing
 
if __name__ == '__main__':
    bytes = marshal.dumps({"code": 1})
    queue = multiprocessing.Queue()
    queue.put_nowait(bytes)
    d=queue.get()
    print(marshal.loads(d))