I have a python (3) module and it needs to open a file to get data. I want to import this module into other python programs, but when I try it fails because it cannot find the data file.
The data file is stored in the same folder as the python module. I would have assumed that the file would still check its local path even when imported.
How can I get this to work?