import my_module # initial import of my_module from importlib import reload my_module = reload(my_module) # reload of my_module
# This module shows the effect of # multiple imports and reload print("This code got executed")