Samples of Python code