[Zope] comparing strings

Paul Winkler pw_lists at slinkp.com
Fri Oct 17 11:38:26 EDT 2003


On Fri, Oct 17, 2003 at 10:14:57AM -0400, Katie Legere wrote:
> If I call a python script to do this, how do I complare strings in Python? I
> tried passing the 2 strings and using
> 
>         strcmp(link_url,remove_link_url)
> 
> but that doesn't seem to do it either.

link_url == remove_link_url

I've never heard of a strcmp function in Python ... it's not  C :-)

-- 

Paul Winkler
http://www.slinkp.com
Look! Up in the sky! It's SPIDER BISHOP SIR!
(random hero from isometric.spaceninja.com)



More information about the Zope mailing list