Jupyter Notebook 4.x Documentation
CHAPTER 3 Comms Comms allow custom messages between the frontend and the kernel. They are used, for instance, in ipywidgets to update widget state. A comm consists of a pair of objects, in the kernel and comm_manager.register_target('my_comm_target', function(comm, msg) { // comm is the frontend comm instance // msg is the comm_open message, which can carry data // Register handlers for later messages: very similar to above, but in reverse. First, a comm target must be registered in the kernel. For instance, this may be done by code displaying output: it will register a target in the kernel, and then display0 码力 | 70 页 | 817.80 KB | 1 年前3Jupyter Notebook 4.x Documentation
Editor. Comms Comms allow custom messages between the frontend and the kernel. They are used, for instance, in ipywidgets [http://ipywidgets.readthedocs.io/en/latest/] to update widget state. A comm consists register_target('my_comm_target', function(comm, msg) { // comm is the frontend comm instance // msg is the comm_open message, which can carry data // Register handlers for later very similar to above, but in reverse. First, a comm target must be registered in the kernel. For instance, this may be done by code displaying output: it will register a target in the kernel, and then display0 码力 | 128 页 | 1.86 MB | 1 年前3Jupyter Notebook 5.5.0 Documentation
You can also use Jupyter remotely: your company or university might run the server for you, for instance. If you want to work with sensitive data in those cases, talk to your IT or data protection staff """Module Loader for Jupyter Notebooks""" def __init__(self, path=None): self.shell = InteractiveShell.instance() self.path = path def load_module(self, fullname): """import a notebook as a module""" path = CHAPTER 6 Comms Comms allow custom messages between the frontend and the kernel. They are used, for instance, in ipywidgets to update widget state. A comm consists of a pair of objects, in the kernel and0 码力 | 143 页 | 1.81 MB | 1 年前3Jupyter Notebook 5.1.0 Documentation
CHAPTER 3 Comms Comms allow custom messages between the frontend and the kernel. They are used, for instance, in ipywidgets to update widget state. A comm consists of a pair of objects, in the kernel and comm_manager.register_target('my_comm_target', function(comm, msg) { // comm is the frontend comm instance // msg is the comm_open message, which can carry data // Register handlers for later messages: very similar to above, but in reverse. First, a comm target must be registered in the kernel. For instance, this may be done by code displaying output: it will register a target in the kernel, and then display0 码力 | 128 页 | 1.72 MB | 1 年前3Jupyter Notebook 5.0.0 Documentation
CHAPTER 3 Comms Comms allow custom messages between the frontend and the kernel. They are used, for instance, in ipywidgets to update widget state. A comm consists of a pair of objects, in the kernel and comm_manager.register_target('my_comm_target', function(comm, msg) { // comm is the frontend comm instance // msg is the comm_open message, which can carry data // Register handlers for later messages: very similar to above, but in reverse. First, a comm target must be registered in the kernel. For instance, this may be done by code displaying output: it will register a target in the kernel, and then display0 码力 | 129 页 | 1.76 MB | 1 年前3Jupyter Notebook 5.2.2 Documentation
CHAPTER 3 Comms Comms allow custom messages between the frontend and the kernel. They are used, for instance, in ipywidgets to update widget state. A comm consists of a pair of objects, in the kernel and comm_manager.register_target('my_comm_target', function(comm, msg) { // comm is the frontend comm instance // msg is the comm_open message, which can carry data // Register handlers for later messages: very similar to above, but in reverse. First, a comm target must be registered in the kernel. For instance, this may be done by code displaying output: it will register a target in the kernel, and then display0 码力 | 129 页 | 1.73 MB | 1 年前3Jupyter Notebook 6.5.1 Documentation
You can also use Jupyter remotely: your company or university might run the server for you, for instance. If you want to work with sensitive data in those cases, talk to your IT or data protection staff 1 (continued from previous page) def __init__(self, path=None): self.shell = InteractiveShell.instance() self.path = path def load_module(self, fullname): """import a notebook as a module""" path = SIX COMMS Comms allow custom messages between the frontend and the kernel. They are used, for instance, in ipywidgets to update widget state. A comm consists of a pair of objects, in the kernel and0 码力 | 191 页 | 1.88 MB | 1 年前3Jupyter Notebook 6.5.0 Documentation
You can also use Jupyter remotely: your company or university might run the server for you, for instance. If you want to work with sensitive data in those cases, talk to your IT or data protection staff 0 (continued from previous page) def __init__(self, path=None): self.shell = InteractiveShell.instance() self.path = path def load_module(self, fullname): """import a notebook as a module""" path = SIX COMMS Comms allow custom messages between the frontend and the kernel. They are used, for instance, in ipywidgets to update widget state. A comm consists of a pair of objects, in the kernel and0 码力 | 189 页 | 1.88 MB | 1 年前3Jupyter Notebook 6.5.2 Documentation
You can also use Jupyter remotely: your company or university might run the server for you, for instance. If you want to work with sensitive data in those cases, talk to your IT or data protection staff 2 (continued from previous page) def __init__(self, path=None): self.shell = InteractiveShell.instance() self.path = path def load_module(self, fullname): """import a notebook as a module""" path = SIX COMMS Comms allow custom messages between the frontend and the kernel. They are used, for instance, in ipywidgets to update widget state. A comm consists of a pair of objects, in the kernel and0 码力 | 191 页 | 1.88 MB | 1 年前3Jupyter Notebook 6.5.4 Documentation
You can also use Jupyter remotely: your company or university might run the server for you, for instance. If you want to work with sensitive data in those cases, talk to your IT or data protection staff 4 (continued from previous page) def __init__(self, path=None): self.shell = InteractiveShell.instance() self.path = path def load_module(self, fullname): """import a notebook as a module""" path = SIX COMMS Comms allow custom messages between the frontend and the kernel. They are used, for instance, in ipywidgets to update widget state. A comm consists of a pair of objects, in the kernel and0 码力 | 191 页 | 1.89 MB | 1 年前3
共 62 条
- 1
- 2
- 3
- 4
- 5
- 6
- 7