Have to try

Fredrik Lundh fredrik at pythonware.com
Sun Feb 17 09:24:13 CET 2002


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>





More information about the Python-list mailing list