While adding to the sys.path and importing is normally best, you may just want to execute an external script.
See text editor templates -> Script Stub On Mon, Dec 3, 2012 at 5:49 AM, Dan Eicher <d...@trollwerks.org> wrote: > The easiest way would be to put your scripts in a directory and add a > __init_.py then: > > import sys > sys.path.append('/path/to/cycles/cycles_module') > from cycles_module import utils > > Fedora, in their infinite wisdom, doesn't add > /usr/local/lib/python2.7/site-packages/ to they python path so I have > to do this quite often. > > Dan > _______________________________________________ > Bf-committers mailing list > Bf-committers@blender.org > http://lists.blender.org/mailman/listinfo/bf-committers -- - Campbell _______________________________________________ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers