I’m trying to write a Python class that pulls submissions from Reddit w/ PRAW, and have it end after a certain time.

Pulling the information from Reddit isn’t an issue; the problem is that the program doesn’t terminate. I have absolutely no idea how to do this (I’m relatively new to programming). Any help/tutorials with doing this would be extremely helpful. Thank you.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!