Python snippets.