Hi there,

i have a 'run' script which is importing all of the relevant modules to make my 
program run. The script is quite long with roughly 12 modules that are imported 
and run one after the other. Along with each import statement there is also the 
'reload()' thing to make it reload the code. eg:

----------------------------------------------------------

import samDev.rigging.TOPOCOAT.config as config
reload(config)
import samDev.rigging.TOPOCOAT.utility_functions.subdivide_curves as 
subdivide_curves
reload(subdivide_curves)
import samDev.rigging.TOPOCOAT.utility_functions.general as general
reload(general)
import samDev.rigging.TOPOCOAT.utility_functions.circle_config as circle_config
reload(circle_config)
import samDev.rigging.TOPOCOAT.build_body_parts as body
reload(body)

etc (up to 12 modules or so)
------------------------------------------------------------

But i want to keep my 'run' script looking clean, is there a neater/tighter way 
to write all this?

thanks alot, 
Sam

-- 
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/cb698bec-8ba7-4e66-9005-5123569ca9a0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to