List match

2006-08-17 Thread OriginalBrownster
Hi there: I know this probably is a very easy thing to do in python, but i wanted to compare 2 lists and generate a new list that does not copy similar entries. An example below list= [apple, banana, grape] list2=[orange,banana, pear] now I want to compare these lits and generate a third list

Re: List match

2006-08-17 Thread Richie Hindle
[Stephen] [...] compare 2 lists and generate a new list that does not copy similar entries. An example below list= [apple, banana, grape] list2=[orange,banana, pear] now I want to compare these lits and generate a third list after comparison list3 would be [apple,

Re: List match

2006-08-17 Thread [EMAIL PROTECTED]
OriginalBrownster wrote: Hi there: I know this probably is a very easy thing to do in python, but i wanted to compare 2 lists and generate a new list that does not copy similar entries. An example below list= [apple, banana, grape] list2=[orange,banana, pear] now I want to compare these

Re: List match

2006-08-17 Thread [EMAIL PROTECTED]
OriginalBrownster wrote: Hi there: I know this probably is a very easy thing to do in python, but i wanted to compare 2 lists and generate a new list that does not copy similar entries. An example below list= [apple, banana, grape] list2=[orange,banana, pear] now I want to compare these

Re: List match

2006-08-17 Thread Richard Brodie
OriginalBrownster [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I know this probably is a very easy thing to do in python, but i wanted to compare 2 lists and generate a new list that does not copy similar entries. An example below list= [apple, banana, grape]

Re: List match

2006-08-17 Thread Stargaming
Richie Hindle schrieb: [Stephen] [...] compare 2 lists and generate a new list that does not copy similar entries. An example below list= [apple, banana, grape] list2=[orange,banana, pear] now I want to compare these lits and generate a third list after comparison list3 would be [apple,

Re: List match

2006-08-17 Thread Paddy
[EMAIL PROTECTED] wrote: OriginalBrownster wrote: Hi there: I know this probably is a very easy thing to do in python, but i wanted to compare 2 lists and generate a new list that does not copy similar entries. An example below list= [apple, banana, grape] list2=[orange,banana,

Re: List match

2006-08-17 Thread Paddy
OriginalBrownster wrote: Hi there: I know this probably is a very easy thing to do in python, but i wanted to compare 2 lists and generate a new list that does not copy similar entries. An example below list= [apple, banana, grape] list2=[orange,banana, pear] now I want to compare these