I'm doing updates to other modules imported in my main file, and I can reload them on the fly in the console and get the new behaviour immediately via
import importlib
importlib.reload(module_name)
How can I do this for the main file?
I tried __name__
but did not work.
PS: I have gigantic datasets and I hate running again the main file after tiny changes, takes forever.