title: If statement returning the wrong value?
body: <p>An <code>if</code> statement in Python evaluates and it appears returns the non-expected value.</p>
  
  <pre><code>p = sub.Popen('md5.exe -n md5.exe',stdout=sub.PIPE,stderr=sub.PIPE)
  md5, errors = p.communicate()
  print md5
  abc = "8D443F2E93A3F0B67F442E4F1D5A4D6D"
  print abc
  if md5 == abc: print 'TRUE'
  else: print 'FALSE'
  </code></pre>
  
  <p><code>repr(md5)</code> is <code>'8D443F2E93A3F0B67F442E4F1D5A4D6D\r\n'</code>.</p>
  
  <p>The 2 strings are the same, but yet it evaluates and prints <code>FALSE</code>.</p>
  
  <p>What's happening here, and how can this be solved?</p>