title: Using PRAW to delete comments from a text file
body: <p>This might seem confusing, but I'm having trouble with PRAW. I have a file named &quot;comments.txt&quot;. It contains a large amount of comment ids from my reddit account. Here is an example of the file:</p>
  <pre><code>s12345
  f65432
  r43532
  g43546
  t42255
  </code></pre>
  <p>I want to delete them using PRAW. I can manually do it, or repetively use:</p>
  <pre><code>comment = reddit.comment(&quot;&quot;)
  comment.delete()
  </code></pre>
  <p>to delete them all, but I want an easier way to do this. How might I be able to read a comment id from the text file, and then delete the comment?</p>