0

I do not have a code here as this is some general question.

When I modified and saved a py file which was imported in a Jupiter notebook, even I import the module again, I cannot get the updates in the notebook work, what should I do? (I usually shut down the work, but it is apparently inefficient)

Jensen
  • 13
  • 2

1 Answers1

0

importlib should still work. Quoting from a similar solution but concerning the interpreter:

Python3 >= 3.4: importlib.reload(packagename)

Python3 < 3.4: imp.reload(packagename)

Charles Landau
  • 4,187
  • 1
  • 8
  • 24