Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Twitter-Data-Analysis/extract_twitter_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class MyListener(StreamListener):

def on_data(self, data):
try:
with open('C:\\Users\\ujjwal.karn\\Desktop\\Tweets\\python.json', 'a') as f: #change location here
with open('location/file_name.txt', 'a') as f: #change location here
f.write(data)
return True
except BaseException as e:
Expand Down