I have written a module (a file my_mod.py file residing in the folder my_module).
Currently, I am working in the file cool_script.py t
This can be caused when Python interpreter can't find your code. You have to mention explicitly to Python to find your code in this location.
To do so:
sys.path.extend(['your module location']) to Python console.In your case:
On the start, write the following code:
import sys
sys.path.extend([my module URI location])
Once you have written this statement you can run following command:
from mymodule import functions