Pyton study, Queue example source code
import queue
q = queue.Queue()
q.put("apple")
q.put("banana")
q.put(10)
print( q.qsize() )
print( q.get() )
print( q.get() )
print( q.qsize() )
"""
output is...
3
apple
banana
1
"""
The study blog from marearts.com
Computer Vision & Machine Learning Research Laboratory