1 ipython 安装
pip install ipython
启动ipython使用ipython
启动notebook 使用 ipython notebook
语法: ipython profile create <你要创建的服务器名>
立即学习“Python免费学习笔记(深入)”;
e.g.:
ipython profile create myserver
此时终端会输出 生成的文件位置, 请记住这个位置
openssl req -x509 -nodes -days 365 -newkey rsa:1024 -keyout mycert.pem -out mycert.pem
此时会输出生成的sha 的值, 请记住输出
为了方便今后的使用: 此时可以将 mycert.pem 证书移到 ipython notebook的文件夹,将相关的东西放在一起。
mv mycert.pem .ipython
c = get_config() # Kernel config c.IPKernelApp.pylab = 'inline' # if you want plotting support always # Notebook config c.NotebookApp.certfile = u'/home/XXX/.ipython/mycert.pem' ##认证的位置 c.NotebookApp.ip = '*' c.NotebookApp.open_browser = False c.NotebookApp.password = u'sha1:XXXX' ## 认证输出的sha值 # It's a good idea to put it on a known, fixed port c.NotebookApp.port = 9999
更多iPython与notevook的基本用法介绍相关文章请关注PHP中文网!
python怎么学习?python怎么入门?python在哪学?python怎么学才快?不用担心,这里为大家提供了python速学教程(入门到精通),有需要的小伙伴保存下载就能学习啦!
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号