Python -Profile and Why to Avoid Loops.