title: Save files to a new folder with python
body: <p>This code saves text files from a data frame of sentences, then saves each one as a ssml file.</p>
  <p>How can I get the sentences to be saved in a new folder?</p>
  <pre><code>max = len(sentences) 
  for i in range(0,max):
      txt = sentences[i]
      new_txt = starter + txt + ender   
      print(new_txt)
      num = num + 1 
      with open(&quot;text&quot; + str(num) + &quot;.ssml&quot;, 'w+') as f:
          f.writelines(new_txt) 
  </code></pre>