Basic Python examples with a numerical flavour