title: Python IndentationError unindent does not match any outer indentation level
body: <p>I'm a beginner in <code>python</code>, </p>
  
  <p>I have this error :</p>
  
  <pre><code>Error : 
  def on_data(self,data):
                        ^
  IdentationError : unindent does not match any outer indentation level
  </code></pre>
  
  <p>I code with <code>notepad++</code> in <code>windows 8.1</code>. I don't understand why I have this error, I have paid attention about tabs and space.</p>
  
  <p>I want to save data in self.file</p>
  
  <p>Here is my code :</p>
  
  <pre><code>from tweepy import OAuthHandler
  from tweepy.streaming import StreamListener
  from tweepy import Stream
  import tweepy
  import time
  
  
  
  class StdOutListener(StreamListener):
  
      def __init__(self,file):
          self.file = file
  
      def on_data(self, data):
  
          print data
          self.file.write(data)
          return True
  
      def on_error(self, status):
          print status
  
  
  def main() :
      file = open('work.txt','w')
      listn = StdOutListener(file)
      consumer_key=""
      consumer_secret=""
  
      access_token=""
      access_token_secret=""
  
      auth = tweepy.OAuthHandler(consumer_key, consumer_secret)
      auth.set_access_token(access_token, access_token_secret)
      #api = tweepy.API(auth)
  
      #filename=open('helloworld.txt','r')
      #f=filename.readlines()
      #filename.close()
  
      #for line in f:
      #   api.update_status(line)
  
      stream = Stream(auth, listn)
      stream.filter(track=['lol'])
      file.close()
  </code></pre>