Skip to content

Instantly share code, notes, and snippets.

laibamehnaz

View GitHub Profile
View Amazon_ReviewText.py
import gzip
import sys
import logging
print("BEGIN NOTEBOOK")
print("OPENING GZIP FILE")
#sys.stdout.write()
with gzip.open ('/mnt/data/rajiv/AmazonProductReviewDataset/all.txt.gz' , 'rt') as f:
file_content = f.read()
print("FILE READ")
You can’t perform that action at this time.