data structures module
Christopher Koppler
klapotec at chello.at
Fri Jan 16 04:25:39 EST 2004
On 15 Jan 2004 23:06:44 -0800, jcb at iteris.com (MetalOne) wrote:
>I am fairly new to Python.
>Today, I wanted a priority queue.
>I notice that Python does not have any sorted lists.
The standard library has modules Queue and bisect - go look them up in
the docs (online:
http://www.python.org/doc/current/lib/module-Queue.html and
http://www.python.org/doc/current/lib/module-bisect.html ). These
should be what you're looking for.
--
Christopher
More information about the Python-list
mailing list