Keith Nation wrote:
I'm still very new to python, and I have a question about how to
prioritize jobs in a queue.
You can use the python 2.6 priority queue implementation:
$ python
Python 2.5.2 (r252:60911, Apr 21 2008, 11:12:42)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
Type "help", "copyr
I'm still very new to python, and I have a question about how to prioritize
jobs in a queue. Currently, I have a simple script that does the following:
job1 = [1, 'Task1', 'v03', '-start', 'Bonnie']
job2 = [2, 'Task2', 'v01', '-start', 'Billy']
job3 = [3, 'Task3', 'v01', '-start', 'Bob']
jobseque