The __file__ variable in Python should allow a module to know what directory it's in so that (among other things) it can open resources which are its siblings. It's OK for them to be relative paths, but then the interpreter's directory shouldn't change (and sublime definitely changes its current directory). Ideally this would be set to an absolute path.
I should note that this is easy to work around though, since any script that wants to can work around it with "__file__ = os.path.abspath(__file__)".
Customer support service by UserEcho