]> projects.mako.cc - twitter-api-cdsw-solutions/blobdiff - twitter1.py
Fixed key error in some tweets
[twitter-api-cdsw-solutions] / twitter1.py
index cee5967f12fc26fb1b4bb479017188258ed5b29c..c1ec98fc81dacd04942db5ae7dc88e5fcd660965 100644 (file)
@@ -9,4 +9,4 @@ api = tweepy.API(auth)
 public_tweets = api.home_timeline(count=100)
 
 for tweet in public_tweets:
-    print tweet.text
+    print(tweet.text)

Benjamin Mako Hill || Want to submit a patch?