python reload function from file code example
Example: python reload function from file
import my_module # initial import of my_module
from importlib import reload
my_module = reload(my_module) # reload of my_module
import my_module # initial import of my_module
from importlib import reload
my_module = reload(my_module) # reload of my_module