News for hackers. Stuff that matters.
Re:Show HN: reddit.py - View reddit's RSS feed from your ter... by kracekumar on Wednesday December 28, 2011 @06:06AM (#3399388)
use argparse .
Re:Show HN: reddit.py - View reddit's RSS feed from your ter... by jmau5 on Wednesday December 28, 2011 @06:40AM (#3399460)
I'm reading through a bit of the Python docs right now, but after I finish I'll check out argparse.

Much appreciated. :)

Re:Show HN: reddit.py - View reddit's RSS feed from your ter... by kracekumar on Wednesday December 28, 2011 @06:53AM (#3399489)
My pleasure. In case I have time I ll try forking it. :)
Re:Show HN: reddit.py - View reddit's RSS feed from your ter... by jmau5 on Wednesday December 28, 2011 @10:40AM (#3400064)
argparse is such a cool module! Whoever knew that command line arguments could be dealt with in a such a beautiful way?

I've integrated it into reddit.py and it made the `if __name__ == "__main__"` block look much more professional.