def _create_rhs(self, parent):

        widget = self._expandable

        self._python_shell = PythonShell(parent)
        self._python_shell.bind('widget', widget)
        self._python_shell.bind('w', widget)

        return self._python_shell.control

    ###########################################################################
    # Private interface.
    ###########################################################################
Returns the Shannon entropy for the given list of probabilities
dataset/ETHPy150Open enthought/pyface/examples/expandable.py/MainWindow._create_rhs--crossover with--dataset/ETHPy150Open clips/pattern/pattern/vector/__init__.py/entropy