title: Raw strings containing Windows paths produce "SyntaxError: unterminated string literal"
body: <p>I am trying to use a shutil script I found but it receives <code>SyntaxError: unterminated string literal (detected at line 4)</code>. Any assistance would be appreciated to fixing this or new script</p>
  <pre><code>import shutil
  import os
  
  source = r&quot;C:\Users\[username]\Downloads\&quot;
  dest1 = r&quot; C:\Users\[username]\Desktop\Reports\14&quot;
  dest2 = r&quot; C:\Users\[username]\Desktop\Reports\52&quot;
  dest3 = r&quot; C:\Users\[username]\Desktop\Reports\59&quot;
  
  files = os.listdir(source)
  
  for f in files:
     
   if (f.startswith(&quot;Log 14&quot;)):
          shutil.move(f, dest1)
      elif (f.startswith(&quot;Log 54&quot;)):
          shutil.move(f, dest2)
  </code></pre>