tl;dnr this whole thread.  But you'd need to:

import SuperScript.myModule
SuperScript.myModule.myFunc()

That's executing the myFunc function in the my myModule.py module living 
under /SuperScript dir.
x:/../../pythonscripts/SuperScript/myModule.py

Generally, I don't often put any code in the __init__.py  (I do 
occasionally for very specific reasons).  In general they're just there to 
get your package paths setup right, so you can import everything correctly 
without any fuss.

-- 
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/c0949574-6c1c-43a8-9429-263e5b5b1649%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to