Jupyter Notebook 5.2.2 Documentationthat the frontend comm is registered, you can open the comm from the kernel: from ipykernel.comm import Comm # Use comm to send a message from the kernel 13 Jupyter Notebook Documentation, Release 5 Documentation, Release 5.3.0.dev To generate, type in a python/IPython shell: from notebook.auth import passwd; passwd() The string should be of the form type:salt:hashed-password. NotebookApp.password_required 'json' The name of the packer for serializing messages. Should be one of ‘json’, ‘pickle’, or an import name for a custom callable serializer. Session.session [CUnicode] Default: '' The UUID identifying0 码力 | 129 页 | 1.73 MB | 1 年前3
Jupyter Notebook 5.5.0 Documentationrestarted. Try running the following cell and then hit the button in the toolbar above. In [4]: import time time.sleep(10) If the Kernel dies you will be prompted to restart it. Here we call the low-level routine with the wrong argument via ctypes to segfault the Python interpreter: In [5]: import sys from ctypes import CDLL # This will crash a Linux or Mac system # equivalent calls can be made on Windows displayed as text in the output area. In [6]: print("hi, stdout") hi, stdout In [7]: from __future__ import print_function print('hi, stderr', file=sys.stderr) hi, stderr 3.3.6 Output is asynchronous All0 码力 | 143 页 | 1.81 MB | 1 年前3
Jupyter Notebook 5.2.2 Documentationthat the frontend comm is registered, you can open the comm from the kernel: from ipykernel.comm import Comm # Use comm to send a message from the kernel my_comm = Comm(target_name='my_comm_target', data={'foo': to use for web authentication. To generate, type in a python/IPython shell: from notebook.auth import passwd; passwd() The string should be of the form type:salt:hashed-password. NotebookApp.password_required 'json' The name of the packer for serializing messages. Should be one of ‘json’, ‘pickle’, or an import name for a custom callable serializer. Session.session : CUnicode Default: '' The UUID identifying0 码力 | 183 页 | 4.36 MB | 1 年前3
Jupyter Notebook 5.4.1 Documentationthat the frontend comm is registered, you can open the comm from the kernel: from ipykernel.comm import Comm # Use comm to send a message from the kernel (continues on next page) 13 Jupyter Notebook to use for web authentication. To generate, type in a python/IPython shell: from notebook.auth import passwd; passwd() The string should be of the form type:salt:hashed-password. NotebookApp.password_required 'json' The name of the packer for serializing messages. Should be one of ‘json’, ‘pickle’, or an import name for a custom callable serializer. Session.session [CUnicode] Default: '' The UUID identifying0 码力 | 134 页 | 1.77 MB | 1 年前3
Jupyter Notebook 5.4.0 Documentationthat the frontend comm is registered, you can open the comm from the kernel: from ipykernel.comm import Comm # Use comm to send a message from the kernel 13 Jupyter Notebook Documentation, Release 5 to use for web authentication. To generate, type in a python/IPython shell: from notebook.auth import passwd; passwd() The string should be of the form type:salt:hashed-password. NotebookApp.password_required 'json' The name of the packer for serializing messages. Should be one of ‘json’, ‘pickle’, or an import name for a custom callable serializer. Session.session [CUnicode] Default: '' The UUID identifying0 码力 | 134 页 | 1.77 MB | 1 年前3
Jupyter Notebook 5.3.1 Documentationthat the frontend comm is registered, you can open the comm from the kernel: from ipykernel.comm import Comm # Use comm to send a message from the kernel (continues on next page) 13 Jupyter Notebook to use for web authentication. To generate, type in a python/IPython shell: from notebook.auth import passwd; passwd() The string should be of the form type:salt:hashed-password. NotebookApp.password_required 'json' The name of the packer for serializing messages. Should be one of ‘json’, ‘pickle’, or an import name for a custom callable serializer. Session.session [CUnicode] Default: '' The UUID identifying0 码力 | 133 页 | 1.77 MB | 1 年前3
Jupyter Notebook 5.7.5 Documentationor restarted. Try running the following cell and then hit the button in the toolbar above. [4]: import time time.sleep(10) If the Kernel dies you will be prompted to restart it. Here we call the low-level routine with the wrong argument via ctypes to segfault the Python interpreter: [5]: import sys from ctypes import CDLL # This will crash a Linux or Mac system # equivalent calls can be made on Windows displayed as text in the output area. [6]: print("hi, stdout") hi, stdout [7]: from __future__ import print_function print('hi, stderr', file=sys.stderr) hi, stderr 3.3.6 Output is asynchronous All0 码力 | 155 页 | 1.71 MB | 1 年前3
Jupyter Notebook 5.7.0 Documentationrestarted. Try running the following cell and then hit the button in the toolbar above. In [4]: import time time.sleep(10) If the Kernel dies you will be prompted to restart it. Here we call the low-level routine with the wrong argument via ctypes to segfault the Python interpreter: In [5]: import sys from ctypes import CDLL # This will crash a Linux or Mac system # equivalent calls can be made on Windows displayed as text in the output area. In [6]: print("hi, stdout") hi, stdout In [7]: from __future__ import print_function print('hi, stderr', file=sys.stderr) hi, stderr 3.3.6 Output is asynchronous All0 码力 | 145 页 | 1.83 MB | 1 年前3
Jupyter Notebook 5.7.3 Documentationor restarted. Try running the following cell and then hit the button in the toolbar above. [4]: import time time.sleep(10) If the Kernel dies you will be prompted to restart it. Here we call the low-level routine with the wrong argument via ctypes to segfault the Python interpreter: [5]: import sys from ctypes import CDLL # This will crash a Linux or Mac system # equivalent calls can be made on Windows displayed as text in the output area. [6]: print("hi, stdout") hi, stdout [7]: from __future__ import print_function print('hi, stderr', file=sys.stderr) hi, stderr 3.3.6 Output is asynchronous All0 码力 | 155 页 | 1.86 MB | 1 年前3
Jupyter Notebook 5.7.6 Documentationor restarted. Try running the following cell and then hit the button in the toolbar above. [4]: import time time.sleep(10) If the Kernel dies you will be prompted to restart it. Here we call the low-level routine with the wrong argument via ctypes to segfault the Python interpreter: [5]: import sys from ctypes import CDLL # This will crash a Linux or Mac system # equivalent calls can be made on Windows displayed as text in the output area. [6]: print("hi, stdout") hi, stdout [7]: from __future__ import print_function print('hi, stderr', file=sys.stderr) hi, stderr 3.3.6 Output is asynchronous All0 码力 | 155 页 | 1.71 MB | 1 年前3
共 62 条
- 1
- 2
- 3
- 4
- 5
- 6
- 7













