Spectral Methods in Python