You can import from any location if you add the location like this: sys.path.append(location)
/Jens On Mon, Feb 4, 2013 at 6:47 PM, Christian Gotzinger <[email protected]>wrote: > Hi list, > > I want to write a class and put it in a separate .py file. This is so we > can use it in both Softimage and Maya. I then want to write a script that > makes use of the class. > Question: what is the proper way of doing this, i.e. where do I store the > external file so that a script can import and use it? > > Thank you > > Christian > -- Jens Lindgren -------------------------- Lead Technical Director Magoo 3D Studios <http://www.magoo3dstudios.com/>

