Switch Command In Python Gui