Distinct Command In Python Gui