Survey python-cook-book: 01 and 02