To reload modules being used in a jupyter-notebook (when they have been changed outside), do this:
%load_ext autoreload
%autoreload 2
This will automatically reload the module every time it is changed.
[Courtesy: this]
%load_ext autoreload
%autoreload 2
This will automatically reload the module every time it is changed.
[Courtesy: this]
No comments:
Post a Comment