On Wed, 27 Feb 2008, Christopher Barker wrote:
> The issue here is a result of what I consider a wart in python's string 
> methods -- string.find() returns a valid index( -1 ) when 
> it fails to find anything. 

Use index instead?

Cheers,
Alan Isaac




_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to