If you want to make your code run faster, it is important to understanding how computers (and also Python!) do work under the hood. By understanding this and having knowledge of good profiler, you can make your code run faster.
This talk will introduce nice tools for the job. Using dis module, you can understand the workflow of Python code. Using various profiler (such as, cProfile, line_profiler, profiling), you can find bottlenecks in your code easily.
After that, you can write fast code.