jupyter-notebook做幻灯片

设置幻灯片

设置幻灯片:
jupyter_notebook幻灯片

启动幻灯片服务:

jupyter nbconvert notebook.ipynb –to slides –post serve

利用IFrame来加载网页

开启跨域请求设置:

jupyter notebook –generate-config

在用户目录下找到.jupyter/jupyter_notebook_config.py

1
2
3
4
5
c.NotebookApp.tornado_settings = {
'headers': {
'Content-Security-Policy': "frame-ancestors self *; report-uri /api/security/csp-report"
}
}

shikanon wechat
欢迎您扫一扫,订阅我滴↑↑↑的微信公众号!