Useful snippets for work on Python