SciPy

scipy.signal.dlti.dt

dlti.dt

Return the sampling time of the system.