Using function with button
wxPython
changes