Python project

profileJerry Shen
Project_3main.py

from Project_3 import * import nltk if __name__ == '__main__': print('User names of more than 1000 re tweets') tweets = {} t = [] tweets = popular_tweets('sen_tweets_edited_2.csv', cutoff=1000) for key,val in tweets.items(): for v in range(len(val)): t.append(val[v]) print(key) graph_usage(t) tweets_ = {} tweets_ = popular_tweets('sen_tweets_edited_2.csv',how='reply', cutoff=500, counts=True) print('\nUser names of more than 500 replies') for key,val in tweets_.items(): print(key)