May-16-2022, 01:44 PM
So I can easily call a function from a file in the same directory as the one i'm running:
from functestsetup import functest functest()but it gets tricky when i attempt to do it from a different directory...
Error:Traceback (most recent call last):
File "O:\PyMemer BETA\functest.py", line 1, in <module>
from functestsetup import functest
ModuleNotFoundError: No module named 'functestsetup'
what I intend to do is have a subfolder of functions for the program to call upon, making the code way more efficient. Anyone have any ideas?