How do I make ipython aware of changes made to a selfwritten module?

前端 未结 3 1369
忘掉有多难
忘掉有多难 2021-01-01 01:55

When trying a selfwritten module, it is likely to end with errors at the first few times.

But when fixing these errors, ipython does not seem to notice that.

3条回答
  •  醉酒成梦
    2021-01-01 02:23

    When you kill the IPython notebook server and restart it, you will have a new kernel instance which does not persist with your notebook itself. You should start your workflow right after opening your notebook by running all cells. In the top menu, select "Cell->Run all"

提交回复
热议问题