X-Git-Url: https://projects.mako.cc/source/twitter-api-cdsw/blobdiff_plain/30dd074a58c070a2ac07650a5eef9c13c3e773a9..043b63c67557591f1e85b53d17fc8a1a797f48ca:/twitter3.py diff --git a/twitter3.py b/twitter3.py index 897b7b3..d9b7ab7 100644 --- a/twitter3.py +++ b/twitter3.py @@ -9,4 +9,4 @@ api = tweepy.API(auth) public_tweets = api.search("data science", count=20) for tweet in public_tweets: - print tweet.user.screen_name + "\t" + str(tweet.created_at) + "\t" + tweet.text + print(tweet.user.screen_name + "\t" + str(tweet.created_at) + "\t" + tweet.text)