python reload object code example
Example: reload class module python
import sys
del sys.modules['myfile']
from myfile import MyClass
modifiedmc = MyClass()
import sys
del sys.modules['myfile']
from myfile import MyClass
modifiedmc = MyClass()