title: NameError: name 'process_or_store' is not defined, python
body: <p>I tried to execute this code and I get this error message : </p>
  
  <blockquote>
    <p>NameError: name 'process_or_store' is not defined,</p>
  </blockquote>
  
  <p>I tried all related solutions here and nothing worked. How can I get rid of the error message?</p>
  
  <pre><code>import tweepy
  import json
  import nltk
  
  from tweepy import Stream
  from tweepy import OAuthHandler
  from tweepy.streaming import StreamListener
  
  
  
  consumer_key = 'key'
  consumer_secret = 'secret'
  access_token = '-token'
  access_secret = 'secret'
  
  auth = OAuthHandler(consumer_key, consumer_secret)
  auth.set_access_token(access_token, access_secret)
  
  api = tweepy.API(auth)
  
  for status in tweepy.Cursor(api.home_timeline).items(10):
      # Process a single status
       process_or_store(status.json)
  </code></pre>