Codes in Python and Gui :)