First steps in Python and examples from: http://zetcode.com/lang/python/python/