An introduction to Python for scientific computing