harryos wrote: > but is there a way I can use difflib module to do this job?
I'm afraid I can't help you with that. You might get more/better answers if you tell us more about the context of the problem and add some details that may be relevant. Peter -- http://mail.python.org/mailman/listinfo/python-list