title: Twython getting tweets from user
body: <p>I am using Twython to get a stream of tweets. I used <a href="https://learn.sparkfun.com/tutorials/raspberry-pi-twitter-monitor" rel="nofollow">this</a> tutorial, expect that I am not using GPIO.</p>
  
  <p>My code is the following:</p>
  
  <pre><code>import time
  from twython import TwythonStreamer
  
  TERMS='#stackoverflow'
  
  APP_KEY='MY APP KEY'
  APP_SECRET='MY APP SECRET'
  OAUTH_TOKEN='MY OATH TOKEN'
  OAUTH_TOKEN_SECRET='MY OATH TOKEN SECRET'
  
  class BlinkyStreamer(TwythonStreamer):
      def on_success(self, data):
          if 'text' in data:
              print data['text'].encode('utf-8')
  try:
          stream = BlinkyStreamer(APP_KEY, APP_SECRET, OAUTH_TOKEN, OAUTH_TOKEN_SECRET)
          stream.statuses.filter(track=TERMS)
  except KeyboardInterrupt
  </code></pre>
  
  <p>That outputs a stream of all tweets containing <code>#stackoverflow</code>. But I want to output the tweet if it is from a certain user, e.g. @StackStatus.</p>
  
  <p>I am running this on a Raspberry Pi.</p>
  
  <p>How would I do that? Any help is appreciated! </p>
  
  <p><strong>Edit: if there is another, other or easier, way to execute some script when a new tweet is placed by some user, please let me know, this would solve my question as well!</strong></p>