()
Uncompress the data files
Uncompress the data files
Uncompress the data files
def uncompress_data():
    """Uncompress the data files"""
    import gzip
    with gzip.open(NEWS_FILE_NAME_COMPRESSED, 'rb') as compressed_file:
        with open(NEWS_FILE_NAME_COMPRESSED[:-3], 'wb') as outfile:
            outfile.write(compressed_file.read())
def uncompress_data ( ) : import gzip with gzip . open ( NEWS_FILE_NAME_COMPRESSED , 'rb' ) as compressed_file : with open ( NEWS_FILE_NAME_COMPRESSED [ : - 3 ] , 'wb' ) as outfile : outfile . write ( compressed_file . read ( ) )