By now, my main app file is getting a bit big and I would like to split out some code, such as the event handlers into a separate file, but being new to python, I have no idea how or where I would import the routines.
For instance, I currently have a stub in my main class
def OnMenuLogWindowShow( self, event ): print( "ShowLog window") event.Skip()
which I would like to move to a secondary file called mainHelper.py in a way where it will still be called as a member of my main frame class and show or hide the log window.
Being very new to python, I am not having much luck.
I have tried to import the file at the very top, as well as part of the main frame init but no luck at all. As long as the code is in the helper file, it does not get called.