I have a bunch of gzipped CSV files that I\'d like to open for inspection using Python\'s built in CSV reader. I\'d like to do this without having first to manually unzip t
Use the gzip module:
gzip
with gzip.open(filename, mode='rt') as f: reader = csv.reader(f) #...