list prob

kemu kemusoft at hotmail.com
Tue May 21 17:48:41 EDT 2002


I want to search a list if I do list.index("word to search") and the word
isn't in the list I get an error I don't want to get one from python but
want my own error like word is not in the list how ?
or is there an other way to search the list for strings and if he doesn't
find one he doesn't print an error ?





More information about the Python-list mailing list