We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 02c13c5 + 5b2574f commit dbcc0d6Copy full SHA for dbcc0d6
Twitter-Data-Analysis/extract_twitter_data.py
@@ -28,7 +28,7 @@ class MyListener(StreamListener):
28
29
def on_data(self, data):
30
try:
31
- 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
32
f.write(data)
33
return True
34
except BaseException as e:
0 commit comments