Just some handy Python code snippets.