difflib and intelligent file differences

Marco Mariani marco at sferacarta.com
Thu Mar 26 16:10:41 CET 2009

Marco Mariani wrote:

>>     while True:
>>         a = filea.readline()
>>         b = fileb.readline()
>>         if not (a or b):
>>             break

BTW, watch out for this break. It might not be what you want :-/

More information about the Python-list mailing list