Python Script for Spectrum Analyzer remote control