If you plan to use the reload() function, then don't use the "import from" syntax. You only want the symbol for the module and not to hold onto any symbols from that module. Otherwise when you reload, you will still have old symbols.
--
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 python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/a5a694ca-8754-4c46-ac47-11fc3a21a77d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Also having to repeat the name everywhere kinda sucks, I would recommend to start from the usage code and find a way to make that interface possible (aggregating symbols in an dounder init module or simply picking better names).
I.e.
import awesomeness
awesomeness.configure()
awesomeness.run()