删除文件夹后ipython笔记本丢失了

时间:2014-07-17 15:05:09

标签: python ipython ipython-notebook

我的ipython笔记本在同一时间从终端删除的给定文件夹中,他迷路了。 做pwdcd会给我:

OSError: [Errno 2] No such file or directory

ERROR: Internal Python error in the inspect module.
Below is the traceback from this internal error.


Unfortunately, your original traceback can not be constructed.

如何在不重新启动内核的情况下解决这个问题? (我想这将解决问题。)

1 个答案:

答案 0 :(得分:0)

问题解决了:

import os
os.chdir("/Full/path/from/root/to/my/existing/folder")