This recipe shows how to do "dot style" dictionary look ups by using the __getitem__() special function. [1]