Part 5: Python Tricks learned this week
Reddit has a great thread on Python Subreddit has some nice on improving python code on daily basis
- Using -v and -q with argparse for improving logging output
 - argparse is a nice module for commandline arguments
 - namedtuple and nameddict is nice way to improve readability
 - boltons is a nice package that complements standard python library
 - toolz is package that allows you to extend itertools and functools
 - tqdm is a nice package for progress bar on terminal
 - flake8 is a nice linting and static analysis tool
 - peewee lightweight ORM
 - behave is a nice utility for Behaviour Driven Development
 
Probability, Paradox, and the Reasonable Person Principle is a nice iPython notebook by Peter Norvig. Intermediate Python and Python’s Anti-Pattern book are also honourable mentions.
Some evergreen material on Python can be found on coroutines and generators