Hi-
I'm currently trying to work out the current location of the current
running python plugin to get the path of a normal python I always use:

currentDir = sys.argv[0]
print (currentDir)

However when I use it from a running python plugin I get the result:

/Applications/Autodesk/maya2009/Maya.app/Contents/MacOS/Maya

Which isn't the right path obviously.

Any ideas whats going on?

Many thanks in advance

Dom

--~--~---------~--~----~------------~-------~--~----~
Yours,
Maya-Python Club Team.
-~----------~----~----~----~------~----~------~--~---

Reply via email to