#This is totally a joke and not intended to run. :) import reddit import antigravity #always a good thing to have. subReddits = ["funny", "wtf", "trees", "pics", "front"] currentSubreddit = 0 while true: try: reddit.persue(subReddits[currentSubreddit]) except notAmused: currentSubreddit = (currentSubreddit + 1) % subReddits.length