This site in the Python Wiki is devoted to various tips and tricks that can be used to improve the performance of your Python programs. There are various tips right from sorting, string concatenation, looping, profiling, etc. Nice site to go for when you are refactoring the program.