How to check Queue\'s length in python?
I dont see they provide Queue.lenght in python....
http://docs.python.org/tutorial/datastructures.html
fr
Use queue.rear+1 to get the length of the queue
queue.rear+1