I know that certain functions will check the script's or module's current directory for the file if no path is specified.
open('test.txt')
If that script is run and test.txt is in the same directory that will open the correct file.
However, if I try to import that module it doesn't work because presumably the path is different. How can I get this to work proper?