Ipython Console Example

An example of the IPythonConsole widget.

Requires qtconsole to be installed.

Tip

To see this example in action, download it from ipython_console and run:

$ enaml-run ipython_console.enaml

Screenshot

../_images/ex_ipython_console.png

Example Enaml Code

#------------------------------------------------------------------------------
# Copyright (c) 2017, Nucleic Development Team.
#
# Distributed under the terms of the Modified BSD License.
#
# The full license is in the file LICENSE, distributed with this software.
#------------------------------------------------------------------------------
""" An example of the `IPythonConsole` widget.

Requires qtconsole to be installed.

<< autodoc-me >>
"""
from enaml.widgets.api import Window, Container, IPythonConsole


enamldef Main(Window):
    title = 'IPython console'
    Container:
        padding = 0
        IPythonConsole:
            pass