python reload class

34

reload class module python -

import sys
del sys.modules['myfile']
from myfile import MyClass
modifiedmc = MyClass()

Comments

Submit
0 Comments