antar2 <[EMAIL PROTECTED]> writes: > for x in list1: > re.compile(x) > for y in list2: > re.compile(y) > if x in y: > z = re.sub(x, 'u', y) > but this does not work
You need to frotz the hymangirator with spangule. That, or show us the actual result you're seeing and how it differs from what you expect to happen. -- \ "I must say that I find television very educational. The minute | `\ somebody turns it on, I go to the library and read a book." -- | _o__) Groucho Marx | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list