def dirdiff(a, b, flags): # Display differences between two directories data = diffdata(a, b, flags) w = tablewin.open(mktitle(a, b), data) w.flags = flags w.a = a w.b = b addviewmenu(w) addactionmenu(w) return w