This seems like a bit of Python code you had written long ago when you were learning and decided to pull out for a blog post.
Part of creating good Python applications is using the standard library effectively (argparse, operator) and using community assets (docopt, clint, etc) to spend your time solving specific problems, not ones that have already been solved.
2
u/[deleted] Jun 18 '13 edited Jun 19 '13
This seems like a bit of Python code you had written long ago when you were learning and decided to pull out for a blog post.
Part of creating good Python applications is using the standard library effectively (argparse, operator) and using community assets (docopt, clint, etc) to spend your time solving specific problems, not ones that have already been solved.