useful examples for data processing with python2.x