I’m writing a script in python for blender and I want to define a function (I’m new to python). I create the function and put the file in the same folder as the blend file. In the main script I write
import function #(which remember, is in the same folder)
but blender keeps saying ImportError: No module named function.py
How can I tell Blender to look for the module in the same folder that holds the blend file?
Thanks in advance!