Is it possible to obtain the list from jupyter notebook combobox?

Viewed 12

I wonder if getting the list of the name when I select the friend name in Jupyter notebook widgets.Combobox() is possible.

If we can, how the code is revised?

widgets.Combobox(
    # value='John',
    placeholder='Choose Someone',
    options=['Paul', 'John', 'George', 'Ringo'],
    description='Combobox:',
    ensure_option=True,
    disabled=False
)

For example, I hope to get the list ['John'], when I select 'John' in the Combobox.

0 Answers
Related