Re: dictionary comparison

2005-05-05 Thread James Stroud
On Thursday 05 May 2005 01:18 pm, so sayeth Bengt Richter: > On Thu, 5 May 2005 10:37:23 -0700, James Stroud <[EMAIL PROTECTED]> > wrote: [...] > We had the same impulse ;-) > (see my other post in this thread) > > ># use patch as value and version as key > > ??? seems the other way around (as it s

Re: dictionary comparison

2005-05-05 Thread Bengt Richter
On Thu, 5 May 2005 10:37:23 -0700, James Stroud <[EMAIL PROTECTED]> wrote: [...] We had the same impulse ;-) (see my other post in this thread) > ># use patch as value and version as key ??? seems the other way around (as it should be?) >recc_dct = dict([x.split("-") for x in recc_ary]) >serv_dct

Re: dictionary comparison

2005-05-05 Thread Bengt Richter
On 5 May 2005 08:19:31 -0700, "rickle" <[EMAIL PROTECTED]> wrote: >I'm trying to compare sun patch levels on a server to those of what sun >is recommending. For those that aren't familiar with sun patch >numbering here is a quick run down. > >A patch number shows up like this: >113680-03 >^^

Re: dictionary comparison

2005-05-05 Thread James Stroud
On Thursday 05 May 2005 10:20 am, so sayeth rickle: > Bill and Jordan, thank you both kindly. I'm not too well versed in > functions in python and that's exactly what I needed. I could see I > was doing something wrong in my original attempt, but I didn't know how > to correct it. > > It's workin

Re: dictionary comparison

2005-05-05 Thread rickle
Bill and Jordan, thank you both kindly. I'm not too well versed in functions in python and that's exactly what I needed. I could see I was doing something wrong in my original attempt, but I didn't know how to correct it. It's working like a charm now, thank you both very much. -Rick -- http:/

Re: dictionary comparison

2005-05-05 Thread Jordan Rastrick
rickle wrote: > I'm trying to compare sun patch levels on a server to those of what sun > is recommending. For those that aren't familiar with sun patch > numbering here is a quick run down. > > A patch number shows up like this: > 113680-03 > ^^ ^^ > patch# revision > > What I want to do is

Re: dictionary comparison

2005-05-05 Thread Bill Mill
On 5 May 2005 08:19:31 -0700, rickle <[EMAIL PROTECTED]> wrote: > I'm trying to compare sun patch levels on a server to those of what sun > is recommending. For those that aren't familiar with sun patch > numbering here is a quick run down. > > A patch number shows up like this: > 113680-03 > ^^^

dictionary comparison

2005-05-05 Thread rickle
I'm trying to compare sun patch levels on a server to those of what sun is recommending. For those that aren't familiar with sun patch numbering here is a quick run down. A patch number shows up like this: 113680-03 ^^ ^^ patch# revision What I want to do is make a list. I want to show wha