I have a function myFunc(a,b)
defined in myMod
under MyFolder
.
I import the function and call the function in the following way, it works.
from MyFolder.myMod import myFunc
myFunc(a,b)
Now I update my function . I would like to reload my function, but reload(myMod.myFunc)
does not work. reload(MyFolder.myMod)
does not work either. May i know the reason?