I don't know if you actually saw the code I linked before, but it 'reloads'
the entire package (all submodules included).
import sys
def hard_reload(package_name):
for k in sys.modules.keys():
if k.startswith(package_name):
del sys.modules[k]
Anyway... it was just a quick suggestion, it's really not a big deal :)
Cheers!
--
You received this message because you are subscribed to the Google Groups
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/CAPamJi_zUpPC0c9VAR9%3DzsbNjk%3D%2BZ8FwZqJUVNoKwsjm-xgBVA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.