Python and 3D Spectroscopy