title: Reading paths from a text file?
body: <p>I am trying to run write a program in Python where it reads paths from a text file and deletes all the files which are listed within it each one.</p>
  
  <p>The text files contain the complete path of the files with each file path on new line. i.e.:</p>
  
  <pre class="lang-none prettyprint-override"><code>/mnt/1/a.jpg
  /mnt/1/b.jpg
  </code></pre>
  
  <p>Not sure how can I do this.</p>