Introduction to python by example