title: What is the difference between python string concatenation and string insertion
body: <p>I want to know what is the diff between two string operations in python</p>
  
  <pre><code>filestamp = time.strftime('%Y-%m-%d')
  database = "mysql";
  </code></pre>
  
  <p>Between this </p>
  
  <pre><code>filename = "/home/vmware/%s-%s.sql" % (database, filestamp)
  </code></pre>
  
  <p>and</p>
  
  <pre><code>filename = "/home/vmware/"+database+"-"+filestamp+".sql"
  </code></pre>