Helpful sample Python code I've collected from around the web