From bb99c90f1ab45ff239fb9a0496122eca44a82ef6 Mon Sep 17 00:00:00 2001 From: Daniel Date: Thu, 23 Feb 2012 21:13:08 +0100 Subject: [PATCH] Extended example --- core_examples/search_results.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core_examples/search_results.py b/core_examples/search_results.py index 607a68f..74cfd40 100644 --- a/core_examples/search_results.py +++ b/core_examples/search_results.py @@ -5,4 +5,5 @@ twitter = Twython() search_results = twitter.searchTwitter(q="WebsDotCom", rpp="50") for tweet in search_results["results"]: - print tweet["text"] + print "Tweet from @%s Date: %s" % (tweet['from_user'].encode('utf-8'),tweet['created_at']) + print tweet['text'].encode('utf-8'),"\n" \ No newline at end of file