title: Python IN operator for List comparision
body: <p>I am working with Python plugins.<br>
  I have my list called <code>station_list</code> ,to which i had appended all the values.It contains all the integer values.<br>
  Now,I wanted to check my query result with list content. My code is:</p>
  
  <pre><code>self.db._exec_sql(c, "select distinct (station) from station  ")
  for row in c.fetchall():
      for m in range(len_station_list):
          print row[0],station_list[m]
  
          if row[0] == station_list[m]:
                  print 'true'
  </code></pre>
  
  <p>I am checking each selected row with list values. When i print and check, it gives correct answer.But comparision goes wrong.<br>
  It does not satisfy condition <code>if row[0] == station_list[m]:</code>.<br>
  What can be the problem?</p>