title: Python if statement not working as expected
body: <p>I'm searching for a string in a website and checking to see if the location of this string is in the expected location.  I know the string starts at the 182nd character, and if I print temp it will even tell me that it is 182, however, the if statement says 182 is not 182.</p>
  <h1>Some code</h1>
  <pre><code>f = urllib.urlopen(link)
  
   #store page contents in 's'
   s = f.read()
   f.close()
   temp = s.find('lettersandnumbers')
  
   if (htmlsize == &quot;197&quot;):
    #if ((s.find('lettersandnumbers')) == &quot;182&quot;):
    if (temp==&quot;182&quot;):
     print &quot;Glorious&quot;
     doStuff()
    else:
     print &quot;HTML not correct.  Aborting.&quot;
   else:
    print htmlsize
    print &quot;File size is incorrect.  Aborting.&quot;
  </code></pre>