This might seem confusing, but I'm having trouble with PRAW. I have a file named "comments.txt". It contains a large amount of comment ids from my reddit account. Here is an example of the file:
s12345
f65432
r43532
g43546
t42255
I want to delete them using PRAW. I can manually do it, or repetively use:
comment = reddit.comment("")
comment.delete()
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?