This chapter is not intended to give you an introduction to Python programming. There are a lot of free online resources and Massive Open Online Course (MOOC) (http://en.wikipedia.org/wiki/Massive_open_online_course) courses on the web.
The main resources can be obtained directly from the Python home page at https://www.python.org/about/gettingstarted/, where there is a big collection of guides, free books, and tutorials.
When programming in Python, it's important to give special attention to editing code with correct indentation. Avoid mixing spaces and tabs, because it can generate errors that can be difficult to understand, especially for someone who is a beginner at Python programming. The official PEP 8 Python standard recommends using spaces.