I created a file call abc.py in my docs directory and am trying to call a function in a separate file called def.py , also in the same location.
abc.py contains
import def
blah
myfunc(1)
blah
def.py contains
def myfunc(argumentname):
blah
blah
blah
abc.py is run by a trigger in Indigo, but python fails to find def.py
What am I doing wrong? If I put def.py into Python's site-packages folder then its found but that seems a silly place to put my scripts.
Sorry for the idiot question