Apart from everything already mentioned, use pypy as a compiler usually makes vanilla python code much faster.