How can I restart IPython console?

When I change functions in the external python files,
the changes does not apply because of the previous loaded module still exist in memory.

So, I have to restart FLAC3D or PFC programs.

magic command, (%reset does not reload modules)
I have found the the way using command (importlib.reload()) but this is not a perfect solution.

Do you have any idea to restart Python console only?

Regards.

1 Like

What is the problem with importlib.reload(module)?