python reload class from module 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()