Pastebin is 300% more awesome when you are logged in. Sign Up, it's FREE!
Guest

Untitled

By: a guest on Aug 13th, 2012  |  syntax: Python  |  size: 0.37 KB  |  hits: 614  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. #This is totally a joke and not intended to run. :)
  2.  
  3. import reddit
  4. import antigravity #always a good thing to have.
  5.  
  6. subReddits = ["funny", "wtf", "trees", "pics", "front"]
  7. currentSubreddit = 0
  8.  
  9. while true:
  10.     try:
  11.         reddit.persue(subReddits[currentSubreddit])
  12.     except notAmused:
  13.         currentSubreddit = (currentSubreddit + 1) % subReddits.length