Skip to content

Instantly share code, notes, and snippets.

Ty yorktronic

Block or report user

Report or block yorktronic

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 gist:178c3ff07da7a8d108347357dfea2cd6
tweets_data_path = '../data/twitter_data.txt'
tweets_data = []
tweets_file = open(tweets_data_path, "r")
for line in tweets_file:
try:
tweet = json.loads(line)
tweets_data.append(tweet)
except:
continue
You can’t perform that action at this time.