def compare ( left , right ) : with open_zip ( left ) as l : with open_zip ( right ) as r : return compare_zips ( l , r )
how to compare zip files in python
yields EVENT ENTRY pairs describing the differences between left and right which are filenames for a pair of zip files
def compare(left, right):
    """
    yields EVENT,ENTRY pairs describing the differences between left
    and right, which are filenames for a pair of zip files
    """

    with open_zip(left) as l:
        with open_zip(right) as r:
            return compare_zips(l, r)