Single Line Command In Python Gui Application