I have a multiprocessing.Manager
object that contains a multiprocessing.Queue
to manage all of the work that I want a group of processes to do. I would like to get the number of elements left in this queue and was wondering how to do this?
Python's inbuilt len()
function does not work.