title: Python how to store string into a variable?
body: <p>I have a python string with newlines represented like this: </p>
  
  <pre><code>""members" : [\n\t\t{\n\t\t\t"_id ...." 
  </code></pre>
  
  <p>I want to store the string in a variable but with the \n and \t converted into newlines and tabs:</p>
  
  <pre><code>"members" : [
                  {
                          "_id" .... "
  </code></pre>
  
  <p>The reason is because I'm using it in a command that I'm formatting and if I use .format(string) then it formats the command with the \n instead of the actual new line</p>