title: Connect to SQL Server using pyodbc
body: <p>I am trying to connect to SQL Server using pyodbc. I am facing the following 
  problem:
  My username is: DESKTOP-B3DDLU2\maria</p>
  
  <blockquote>
    <p>Login failed for user 'DESKTOP-B3DDLU2\\maria'</p>
  </blockquote>
  
  <p>Any idea how to overcome the <code>\\</code> instead of <code>\</code> problem? I using the following code:</p>
  
  <pre><code>conn = pyodbc.connect(
  r'DRIVER={SQL Server};'
  r'SERVER=DESKTOP-B3DDLU2\SQLEXPRESS;'
  r'DATABASE=[xxx];'
  r'UID=DESKTOP-B3DDLU2'+('\\')+r'maria;'
  r'PWD=xxxxx')
  </code></pre>