gpt4 book ai didi

ipython - 如何自动保存 ipython 笔记本

转载 作者:行者123 更新时间:2023-12-01 02:19:30 34 4
gpt4 key购买 nike

有谁知道在执行单元格之前是否有选项(或建议的 hack)可以让 IPython 笔记本自动保存?

很多时候我一直在做一些事情而没有保存很长一段时间,然后我执行了一个愚蠢的命令,该命令在控制台上打印了如此多的废话,以至于我的浏览器变得无响应,导致我丢失了所有工作。

定时自动保存也可以解决问题。

最佳答案

开发版本完全实现了该功能。按照 ipython github 上的说明进行安装.

指令形成 repo :

If you want to hack on certain parts, e.g. the IPython notebook, in a clean environment (such as a virtualenv) you can use pip to grab the necessary dependencies quickly:


 $ git clone --recursive https://github.com/ipython/ipython.git
$ cd ipython
$ pip install -e ".[notebook]"

This installs the necessary packages and symlinks IPython into your current environment so that you can work on your local repo copy and run it from anywhere:


 $ ipython notebook

关于ipython - 如何自动保存 ipython 笔记本,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21517296/

34 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com