At the moment if I add a path to my Maya.env I only get to read the give path, not all its sub-folders too?
PYTHONPATH = E:\ProfessionalDevelopment\python\Introduction to Python Scripting in Maya\cgcircuitPython\;E:\ProfessionalDevelopment\python\Introduction to Python Scripting in Maya\cgcircuitPython\. # I thought adding a . here would be saying from here and everything below. It didn't work.
Also. Once I have updated the Maya.env how can I get Maya to reload it. Currently I have to restart Maya ?
--
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/2cf1397b-f276-44e8-86d6-e8553da74191%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsub...@googlegroups.com.
Your reply suggest I should be able to do it "That is how the PYTHONPATH and import mechanism work in Python. You add a path and it makes packages/modules accessible below that point"But I can't make it read a module that is found deeper in another folder. even after a restart.
For example if I was to assign this path to my Maya.envE:\ProfessionalDevelopment\python\Introduction_to_Python_Scripting_in_Maya\I would want to be able to access a module found here.E:\ProfessionalDevelopment\python\Introduction_to_Python_Scripting_in_Maya\week6_v003\homeWork\wk6_module.py
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/2cf1397b-f276-44e8-86d6-e8553da74191%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
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/02585df1-326d-4f75-a3ab-4f602096bc40%40googlegroups.com.