I am building a fairly complex python app with various scripts. I am planning on sorting these scripts into subfolders so I can then access the functions from a main file. For example having a function called main inside a file called test.py inside a subfolder called test. How would I call the function?
I have tried using
from test import main
However I get a ModuleNotFoundError error.
Thanks in advance for the help.