News

args=("output.txt", queue, STOP_TOKEN)) writer_process.start() # Dispatch all the jobs # Make sure the jobs are finished queue.put(STOP_TOKEN) writer_process.join() # There, your file was written.