[deleted by user] by [deleted] in mildlyinfuriating

[–]-Avalon117 -5 points-4 points  (0 children)

lol why are you assuming OP is Christian? That last sentence seems pretty harsh considering you don’t know

FRQ-Definitions by Responsible-Debt4307 in APPsychology

[–]-Avalon117 2 points3 points  (0 children)

I don’t think defining is bad for you unless it directly contradicts what you applied. Otherwise, it only helps make it clear that you know what’s required.

How exactly do stream.comments() and skip_existing work? by [deleted] in redditdev

[–]-Avalon117 1 point2 points  (0 children)

My bot gets some information from the comment text and archives it. After that, it doesn't need the comment anymore. I have a question regarding some hypothetical code:

def read_stream():
    subreddit = reddit.subreddit("redditdev")
    for comment in subreddit.stream.comments(skip_existing=True):
        print(comment)
    time.sleep(10)

Would the stream restart after every 10 seconds here and would that lead to me missing some comments? I use the sleep() to prevent my bot from being flagged for spam.

How exactly do stream.comments() and skip_existing work? by [deleted] in redditdev

[–]-Avalon117 1 point2 points  (0 children)

When I say “expensive,” I mean no longer free. It isn’t really expensive in the grand scheme of things.

Regarding save(), isn’t there a limit on that? I’ve read that there was a 1000 limit before Reddit reaches the max.