Home
Sign Up
Sign In
推荐学习书目
›
Learn Python the Hard Way
Python Sites
›
PyPI
- Python Package Index
›
http://diveintopython.org/toc/index.html
›
Pocoo
值得关注的项目
›
PyPy
›
Celery
›
Jinja2
›
Read the Docs
›
gevent
›
pyenv
›
virtualenv
›
Stackless Python
›
Beautiful Soup
›
结巴中文分词
›
Green Unicorn
›
Sentry
›
Shovel
›
Pyflakes
›
pytest
Python 编程
›
pep8 Checker
Styles
›
PEP 8
›
Google Python Style Guide
›
Code Style from The Hitchhiker's Guide
V2EX
›
Python
小白问一下 jupyternotebook 里点 kernel shutdown 和 interrupt 区别在哪。。主要不太明白 interrupt
yellowtail
·
Sep 9, 2019
· 3936 views
This topic created in 2573 days ago, the information mentioned may be changed or developed.
自己写的程序里面,如果使用 interrupt 中断然后 run 和 shutdown 再 run 得到的有时东西不一样,但是有时又一样。。。
interrupt
shutdown
run
里点
2 replies
•
2019-09-09 08:25:32 +08:00
1
labnotok
Sep 9, 2019 via Android
1
粗略的说,
interrupt 是终止一个 cell,不影响跑过的 cell
shutdown 是终止一个 ipython kernel,kernel 的堆栈直接清空
至于结果一不一样,那是随机数没设 seed 吧
2
GrayXu
Sep 9, 2019
关闭和中断。
中断==ctrl+c,中断当前 shell 的任务,保留其他中间态。
关闭等于关闭这个 notebook 绑定的 python 程序,所有 shell 中间态丢失。
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
1437 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: aef6ded9 · 27ms ·
UTC 16:34
·
PVG 00:34
·
LAX 09:34
·
JFK 12:34
♥ Do have faith in what you're doing.
❯