Jupyter Notebook 4.x Documentationextension is loaded. This example shows a frontend comm target registered in a registry: Jupyter.notebook.kernel.comm_manager.register_target('my_comm_target', function(comm, msg) { // comm is the frontend message from the kernel 13 Jupyter Notebook Documentation, Release 4.4.1 my_comm = Comm(target_name='my_comm_target', data={'foo': 1}) my_comm.send({'foo': 2}) # Add a callback for received messages. @my_comm 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 display output0 码力 | 70 页 | 817.80 KB | 1 年前3
Jupyter Notebook 4.x Documentationextension is loaded. This example shows a frontend comm target registered in a registry: Jupyter.notebook.kernel.comm_manager.register_target('my_comm_target', function(comm, msg) { // comm is the ipykernel.comm import Comm # Use comm to send a message from the kernel my_comm = Comm(target_name='my_comm_target', data={'foo': 1}) my_comm.send({'foo': 2}) # Add a callback for received messages. @my_comm 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 display output0 码力 | 128 页 | 1.86 MB | 1 年前3
Jupyter Notebook 5.1.0 Documentationextension is loaded. This example shows a frontend comm target registered in a registry: Jupyter.notebook.kernel.comm_manager.register_target('my_comm_target', function(comm, msg) { // comm is the frontend Notebook Documentation, Release 5.1.0 (continued from previous page) my_comm = Comm(target_name='my_comm_target', data={'foo': 1}) my_comm.send({'foo': 2}) # Add a callback for received messages. @my_comm 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 display output0 码力 | 128 页 | 1.72 MB | 1 年前3
Jupyter Notebook 5.0.0 Documentationextension is loaded. This example shows a frontend comm target registered in a registry: Jupyter.notebook.kernel.comm_manager.register_target('my_comm_target', function(comm, msg) { // comm is the frontend Notebook Documentation, Release 5.0.0 (continued from previous page) my_comm = Comm(target_name='my_comm_target', data={'foo': 1}) my_comm.send({'foo': 2}) # Add a callback for received messages. @my_comm 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 display output0 码力 | 129 页 | 1.76 MB | 1 年前3
Jupyter Notebook 5.2.2 Documentationextension is loaded. This example shows a frontend comm target registered in a registry: Jupyter.notebook.kernel.comm_manager.register_target('my_comm_target', function(comm, msg) { // comm is the frontend from the kernel 13 Jupyter Notebook Documentation, Release 5.3.0.dev my_comm = Comm(target_name='my_comm_target', data={'foo': 1}) my_comm.send({'foo': 2}) # Add a callback for received messages. @my_comm 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 display output0 码力 | 129 页 | 1.73 MB | 1 年前3
Jupyter Notebook 5.0.0 Documentationextension is loaded. This example shows a frontend comm target registered in a registry: Jupyter.notebook.kernel.comm_manager.register_target('my_comm_target', function(comm, msg) { // comm is the ipykernel.comm import Comm # Use comm to send a message from the kernel my_comm = Comm(target_name='my_comm_target', data={'foo': 1}) my_comm.send({'foo': 2}) # Add a callback for received messages. @my_comm 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 display output0 码力 | 184 页 | 4.40 MB | 1 年前3
Jupyter Notebook 5.1.0 Documentationextension is loaded. This example shows a frontend comm target registered in a registry: Jupyter.notebook.kernel.comm_manager.register_target('my_comm_target', function(comm, msg) { // comm is the ipykernel.comm import Comm # Use comm to send a message from the kernel my_comm = Comm(target_name='my_comm_target', data={'foo': 1}) my_comm.send({'foo': 2}) # Add a callback for received messages. @my_comm 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 display output0 码力 | 184 页 | 4.36 MB | 1 年前3
Jupyter Notebook 5.2.2 Documentationextension is loaded. This example shows a frontend comm target registered in a registry: Jupyter.notebook.kernel.comm_manager.register_target('my_comm_target', function(comm, msg) { // comm is the ipykernel.comm import Comm # Use comm to send a message from the kernel my_comm = Comm(target_name='my_comm_target', data={'foo': 1}) my_comm.send({'foo': 2}) # Add a callback for received messages. @my_comm 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 display output0 码力 | 183 页 | 4.36 MB | 1 年前3
Jupyter Notebook 5.4.1 Documentationextension is loaded. This example shows a frontend comm target registered in a registry: Jupyter.notebook.kernel.comm_manager.register_target('my_comm_target', function(comm, msg) { // comm is the frontend Notebook Documentation, Release 5.4.1 (continued from previous page) my_comm = Comm(target_name='my_comm_target', data={'foo': 1}) my_comm.send({'foo': 2}) # Add a callback for received messages. @my_comm 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 display output0 码力 | 134 页 | 1.77 MB | 1 年前3
Jupyter Notebook 5.5.0 Documentationextension is loaded. This example shows a frontend comm target registered in a registry: Jupyter.notebook.kernel.comm_manager.register_target('my_comm_target', function(comm, msg) { // comm is the frontend Notebook Documentation, Release 5.5.0 (continued from previous page) my_comm = Comm(target_name='my_comm_target', data={'foo': 1}) my_comm.send({'foo': 2}) # Add a callback for received messages. @my_comm 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 display output0 码力 | 143 页 | 1.81 MB | 1 年前3
共 62 条
- 1
- 2
- 3
- 4
- 5
- 6
- 7













