reverted the encoding fix that tommy made in lieu of a different crazy hack
[twitter-api-cdsw-solutions] / twitter1.py
index cee5967f12fc26fb1b4bb479017188258ed5b29c..26b6337cf3247f8d9f14d6f8930e60f97c24a8e9 100644 (file)
@@ -1,3 +1,4 @@
+import encoding_fix
 import tweepy
 from twitter_authentication import CONSUMER_KEY, CONSUMER_SECRET, ACCESS_TOKEN, ACCESS_TOKEN_SECRET
 
@@ -9,4 +10,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?