En Fri, 13 Feb 2009 04:18:05 -0200, sudhandra selvi <sudhandra_se...@yahoo.co.in> escribió:

Does anyone know if Python has a function like similar_text in PHP. It
 compares two strings and returns a percentage for the match. Anyone
 know of anything like this in Python and would be willing to send
 along an example?

See the difflib module.
http://docs.python.org/library/difflib.html

--
Gabriel Genellina

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to