Snippets of python code for the Raspberry Pi