How do I set my button to open a New Window

Hello everyone,

I am new to wx python but I have managed to create and populate my main window so far. Now what i want to do is to allow one of my buttons to switch to a new window when I click it. To make my code cleaner, I also want the code for the new window to be in a separate .py file and i would just call back that new window function into the button event. Could someone please help me out with like a template or something. Google has been no help so far. Thanks in advance for your help. Btw I am using windows 10, python 3.9

You may use this as starting point:

Thank you very much