April 2018
Beginner
238 pages
7h 13m
English
We can show an example of the problem if we enter a small (Python 3) Notebook page that interacts with users, as follows:
from ipywidgets import interactdef myfunction(x): return xinteract(myfunction, x="Hello World")
We have a script that takes the string entered and displays it back (defaulting to Hello World) with the initial output as shown here:

And then, as I changed the value entered in the interactive textbox, the display changed accordingly:

At this point, I have interacted with the Notebook from a browser and it printed ...