I'm building a module that contains only functions, which I named
functions.py, it's in the same directory as the addon's
So I have various solutions:
from . import functions
Now I can call the functions contained in functions.py module like so:
functions.my_function_one() functions.my_function_two() #Etc.
from .functions import *
Now I can call functions like this:
my_function_one() my_function_two() #Etc.
I particularly like the use of the second solution (But I don't know which is the best idea)
Anyway the question is: when I run
Changes made inside
functions.py module will not be reloaded, Only by restarting Blender will these take effect.
So I'd like to understand how to go about solving Solution 1 and 2
I want to clarify that I ask this, as it is quite frustrating to have to restart the blender at every minimum change of the modules.