ive noticed this a few times and I am trying to track down a WHY

myPath = "someDirectoryPath"
os.environ["PYTHONPATH"] = "%s;%s" % (myPath, os.environ["PYTHONPATH"])
# works occassionally

sys.path.append(myPath)
# works every time

any ideas or suggestions as to why updating the environ wouldn't work all
the time?



-- 
Todd Widup
Creature TD / Technical Artist
[email protected]
[email protected]
www.toddwidup.com

-- 
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/CABBPk35R3O1iT%2BFK55-PKCOd5WKbizRWZM%2BBYrrxeigJzSK3WQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to