I have a ex.py file, where i defined several functions. Now, I'm trying to import ex.py to another sorter.py file as a module to use those functions.
So, inside of sorter.py, I have:
import ex
function_name()
NameError: name 'function_name' is not defined
So, I suppose, i don't have ex.py imported to sorter.py
Both .py files are in the same directory, which is not childdir for python or sublime installation folder. I tried to insert the path to ex.py into sys.path, but that didn't help. How can i fix that, considering, that I'm using sublime text editor?