Here is a collection of information about learning python.
If you are learning python then you first need to get familiar with the basic syntax of python. You need to be able to work with variables, if statements, loops (for), lists, how to print variables out and functions.
Thus is a good tutorial on learning the basic commands of python.
An introductory tutorial on using numpy arrays