python training by Python CookBook