title: Python: how to escape "%s"
body: <p>I'm trying to make a string that includes a "%s" with no formatting</p>
  
  <p>For example, I want this:</p>
  
  <pre><code>#I want to make mystring = "x %s"
  
  first_value = "x"
  mystring = "%s %s" % first_value
  </code></pre>
  
  <p>So, I want to format the first %s, but leave the second %s in the string.. Of course the above code gives me a "TypeError:not enough arguments for format string"</p>
  
  <p>Is there a way to achieve this in one line?</p>
  
  <p>Thanks</p>
  
  <p><br></p>
  
  <p><strong>EDIT:</strong>
  I know I can do </p>
  
  <pre><code>mystring = "%s %s" % (first_value, "%s")
  </code></pre>
  
  <p>but this kind of looks ugly.. Is there a better way?</p>