import zipfile


def read_zip(zip_file):
    """Open a zip from location to use as zipfile object with other functions.
    You'll need to close the zipfile with close_zip() if the functions used does not do it.
    Usage : z = read_zip('my_file.zip')"""
    return zipfile.ZipFile(zip_file, 'r', zipfile.ZIP_LZMA)