Twitter-Sentiment-Analysis
Twitter-Sentiment-Analysis copied to clipboard
This script can tell you the sentiments of people regarding to any events happening in the world by analyzing tweets related to that event
How to avoid the following error? Traceback (most recent call last): File "tweet.py", line 30, in for tweet in tweets: File "/usr/local/lib/python3.7/dist-packages/tweepy/cursor.py", line 49, in __next__ return self.next() File "/usr/local/lib/python3.7/dist-packages/tweepy/cursor.py",...
Traceback (most recent call last): File "C:\Users\HP\Desktop\New folder\main.py", line 145, in sa.DownloadData() File "C:\Users\HP\Desktop\New folder\main.py", line 27, in DownloadData self.tweets = tweepy.Cursor(api.search, q=searchTerm, lang="eng").items(NoOfTerms) File "C:\Users\HP\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\tweepy\cursor.py", line 40, in __init__...
I have optimized the code by doing the following: 1. Protected the Credentials by using env imports 2. Used a 'with' statement when opening the file, to avoid the need...
the tutorial link attached in the description is not working. kindly consider re-uploading it.