What is the best queue implemetation in Python?
James Stroud
jstroud at mbi.ucla.edu
Thu Feb 22 23:34:13 EST 2007
John Machin wrote:
> On Feb 23, 11:24 am, "John" <rds1... at sh163.net> wrote:
>
>>Than C or PASCAL
>>I mean, list or dictionary in Python are so powerful than the traditional
>>array. Maybe I can make use of it?
>
>
> Well, you could wite your own queue manager using Python lists,
> but ...
>
> You have this strange reluctance to look in the documentation. Have
> you tried Google? Try http://docs.python.org/lib/deque-objects.html
>
> Or perhaps you want/need the Queue module or the heapq module.
>
> *You* find them and *you* work out what is best for *your* needs.
>
> If you have a question that you could not answer yourself, then ask it
> here.
>
> HTH,
> John
You could do yourself a favor and not answer. You would also be sparing
the rest of us your rude tone.
James
More information about the Python-list
mailing list