In [1]:
import os,sys
sys.path.insert(0, os.path.abspath('..'))
from hublib.ui import PathSelector


The PathSelector widget allows the user to choose a path in the server (container). It cannot access files from the user's computer.


In [2]:
p = PathSelector('/data')
p



In [3]:
p.value


Out[3]:
'/data'

In [4]:
p.visible=False

In [5]:
p.visible=True