During a scheduled evetn I am calling a script in an external file. This works fine, but in that file I wish to execute a script in another external file (in the same folder as the original), so this (in principle) is what I wish to do
file1.py:
#set a variable or some other python code
indigo.variables[blah blah].....
#now call another script in file2.py
execfile("file2.py")
file2.py:
#do whatever is required!.....
How do I make it work? I get an error stating file2.py doesnt exist