difflib and intelligent file differences

hayes.tyler at gmail.com hayes.tyler at gmail.com
Thu Mar 26 16:28:11 CET 2009


On Mar 26, 11:10 am, Marco Mariani <ma... at sferacarta.com> wrote:
> 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 :-/

HA! Just found it :P

Thanks,

t.



More information about the Python-list mailing list