a demo for learn python from liaoxuefen's blog