Create spec.py

Python program to generate a signal and plot its spectrogram by varying its window, NFFT, hop size and zero padding size