Python Experiments in Physics and Astronomy