title: Python raw literal string
body: <pre><code>str = r'c:\path\to\folder\'   # my comment
  </code></pre>
  
  <ul>
  <li>IDE: Eclipse</li>
  <li>Python2.6</li>
  </ul>
  
  <p>When the last character in the string is a backslash, it seems like it will escape the last single quote and treat my comment as part of the string. But the raw string is supposed to ignore all escape characters, right? What could be wrong? Thanks.</p>