from twython import Twython
twitter = Twython()
search_results = twitter.search(q='#somehashtag', rpp='50')
for tweet in search_results['results']:
    print('Tweet from @%s Date: %s' % (tweet['from_user'].encode('utf-8'),
        tweet['created_at']))
print(tweet['text'].encode('utf-8'), '\n')
Fetching tweets with hashtag from Twitter using Python