aimport
%aimport: %aimport => Import modules for automatic reloading.
%aimport
lets you specify a module to import that will automatically be reloaded. This command works alongside %autoreload
, which lets you specify the frequency or inclusion of what modules will be autoreloaded.
List modules to automatically import and not to import:
%aimport
Import module ‘foo’ and mark it to be autoreloaded for %autoreload 1
:
%aimport foo
Import modules ‘foo’, ‘bar’ and mark them to be autoreloaded for %autoreload 1
:
%aimport foo, bar
Mark module ‘foo’ to not be autoreloaded for %autoreload 1
:
%aimport -foo