Hello, I have a file that contains the following:
<snip> my name is larry is in 10th grade got A+ in math my name is john is in 10th grade got A+ in english my name is peter [...] </snip> i need to convert the file to look like: <snip> my name is larry my name is larry is in 10th grade --> (my name is larry is common and needs to be prepend to the string. my name is larry got A+ in match my name is larry i am good --> (this is an addition) my name is john my name is john is in 10th grade my name is john got A+ in english my name is john i am good <snip> I would really appreciate if someone could help me out with the logic here. any tips/direction would be helpful. -- --andy
-- http://mail.python.org/mailman/listinfo/python-list