Teaching some basics of computational cosmology (with Python)