learning python 2.7 using LPTHW