A Problem about , about how to set a subframe( or a panel) with Python consloe into a wxPython frame.

How to set a subframe( or a panel) with IDLE consloe into a wxPython frame.like a IDLE ?