title: How to use multiprocessing.Queue.get method?
body: <p>The code below places three numbers in a queue. Then it attempts to get the numbers back from the queue. But it never does. How to get the data from the queue? </p>
  
  <pre><code>import multiprocessing
  
  queue = multiprocessing.Queue()
  
  for i in range(3):
      queue.put(i)
  
  while not queue.empty():
      print queue.get()
  </code></pre>