Skip to content

Instantly share code, notes, and snippets.

laibamehnaz

Block or report user

Report or block laibamehnaz

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
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.