Over the last week I have been working on a proof of concept script that exports Photoshop paths to polygonal meshes directly. The script can export paths directly or it can generate them automatically from the transparent areas of a layer. This script has only been tested with Photoshop CC thus far.
Using Maya environment variables in your python scripts is a very convenient way to access files that your scripts need, such as UI files, or xml settings files etc. The basic principle is: Get a string of all the directories in the environment variable, split them by the separator, and then search each directory in the list for the file you are look for: