Gerson Kurz wrote: > def strcmp(a,b): > "Compare two strings, case-sensitive" > return a == b the real "strcmp" returns zero if the strings match; try this one instead: strcmp = cmp </F>