I just want to know how to clear a multiprocessing queue in python like a normal python queue. For instance:
from multiprocessing import Queue # multiproces
So, I take look at Queue class, and you may to try this code:
while not some_queue.empty(): some_queue.get() # as docs say: Remove and return an item from the queue.