This is a relatively simple way of doing this.
First of all, import time at the top of your code. Then, at the point that you want to start timing an operation, put the following:
start = time.clock()
At the end of what you think your problem section is, put this...
runtime = time.clock() - start
print runtime
This should tell you how long that section took to run.