return
if __name__ == '__main__':
    queue_dic = {}
queue_manager = Manager()
process_list = []
for i in range(number_of_subprocesses_i_want):
    child_queue = queue_manager.Queue()
p = Process(target=begin, args=(child_queue,))
p.start()
queue_dic[p.pid] = child_queue
process_list.append(p)
for p in process_list:
    print(queue_dic[p.pid].get())
p.join()
Python словарь очередей между процессами