Re: value is in list?

2008-06-12 Thread Steven Clark
Hello , following scenario list_current = [ welcome, search, done, result] list_ldap = [ welcome, hello] result: list_toadd = [ hello] by words said , i want to check if list item from list_ldap exists in list_current if not i want to add it to list_toadd. Thanks! D. list_toadd =

Re: value is in list?

2008-06-12 Thread Christian Heimes
David Hláčik wrote: Hello , following scenario list_current = [ welcome, search, done, result] list_ldap = [ welcome, hello] result: list_toadd = [ hello] by words said , i want to check if list item from list_ldap exists in list_current if not i want to add it to list_toadd.

Re: value is in list?

2008-06-12 Thread Paddy
On Jun 12, 11:46 pm, Steven Clark [EMAIL PROTECTED] wrote: Hello , following scenario list_current = [ welcome, search, done, result] list_ldap = [ welcome, hello] result: list_toadd = [ hello] by words said , i want to check if list item from list_ldap exists in list_current