def _create_contents(self, parent):

        self._shell = PythonShell(parent)

        return self._shell.control


# Application entry point.
Create the editor.
dataset/ETHPy150Open enthought/pyface/examples/python_shell.py/MainWindow._create_contents