"Steve M" <[EMAIL PROTECTED]> writes: > You can check for membership in a list at least these ways:
Two ways - idnex and the in keyword. > my_list.find(candidate) > -returns the index into my_list of the first occurrence of candidate. > Returns -1 if candidate doesn't occur in my_list. Lists don't have a find method. strings do. Why is a good question. <mike -- Mike Meyer <[EMAIL PROTECTED]> http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. -- http://mail.python.org/mailman/listinfo/python-list