Be aware, a lot of Python tips for improving performance are releated to the Python implementation you're using.
We should remark a clear distinction between Python tips and CPython tips. In PyPy or other implementations some tips does just not make sense and are useless (e.g.: local scope stuff vs. outer scope stuff in loops).