simple text input


In [1]:
name=input()




In [2]:
print(name)



password text input


In [3]:
import getpass

password = getpass.getpass()


········

In [4]:
password is None


Out[4]:
False

simple int slider


In [5]:
from ipywidgets import interact,widgets

In [6]:
# this is a sample function
def myfunc(x):
    return x*2

In [7]:
interact(myfunc,x=widgets.IntSlider(min=-10,max=10,value=0))


Out[7]:
<function __main__.myfunc>

In [ ]:


In [ ]:


In [ ]: