TWITTER_APP_KEY_SECRET = 'xxxxx'
TWITTER_ACCESS_TOKEN = 'xxxxxx'
TWITTER_ACCESS_TOKEN_SECRET = 'xxxxx'
t = Twython(app_key=TWITTER_APP_KEY, app_secret=TWITTER_APP_KEY_SECRET,
    oauth_token=TWITTER_ACCESS_TOKEN, oauth_token_secret=
    TWITTER_ACCESS_TOKEN_SECRET)
search = t.search(q='#omg', count=100)
tweets = search['statuses']
for tweet in tweets:
    pass
Fetching tweets with hashtag from Twitter using Python