def _create_python_shell(self, parent):

        self._python_shell = python_shell = PythonShell(parent)
        python_shell.bind('widget', self._tree_viewer)
        python_shell.bind('w', self._tree_viewer)
        python_shell.bind('window', self)
        python_shell.bind('actions', self._actions)

        return python_shell.control

    #### Trait event handlers #################################################
Read credential file and return token information.
dataset/ETHPy150Open enthought/pyface/examples/explorer.py/MainWindow._create_python_shell--crossover with--dataset/ETHPy150Open apache/libcloud/libcloud/common/google.py/GoogleOAuth2Credential._get_token_from_file