Ask Your Question

# Revision history [back]

Not sure if this works for the sage shell, but adding the following two lines successfully reloads modules on every execution:

%load_ext autoreload
%autoreload 2


Source documentation: https://ipython.readthedocs.io/en/stable/config/extensions/autoreload.html

Not sure if this works for the sage shell, but adding the following two lines successfully reloads modules on every execution:execution for sage notebook:

%load_ext autoreload
%autoreload 2


Source documentation: https://ipython.readthedocs.io/en/stable/config/extensions/autoreload.html