title: How do you escape a single backslash in a formatted python string?
body: <p>Having some trouble including a single pair of backslashes in the result of a formatted string in Python 3.6. Notice that #1 and #2 produce the same unwanted result, but #3 results in too many backslashes, another unwanted result.</p>
  <h1>1</h1>
  <pre><code>t = &quot;arst '{}' arst&quot;
  t.format(d)
  &gt;&gt; &quot;arst '2017-34-12' arst&quot;
  </code></pre>
  <h1>2</h1>
  <pre><code>t = &quot;arst \'{}\' arst&quot;
  t.format(d)
  &gt;&gt; &quot;arst '2017-34-12' arst&quot;
  </code></pre>
  <h1>3</h1>
  <pre><code>t = &quot;arst \\'{}\\' arst&quot;
  t.format(d)
  &gt;&gt; &quot;arst \\'2017-34-12\\' arst&quot;
  </code></pre>
  <p>I'm looking for a final result that looks like this:</p>
  <pre><code>&gt;&gt; &quot;arst \'2017-34-12\' arst&quot;
  </code></pre>