Why SublimeREPL won't import a Python module or read a file in CWD?
I'm using Sublime Text 3 build 3126 on Ubuntu Zesty with the SublimeREPL plugin. I open a Python REPL with CTRL+SHIFT+P >> SublimeREPL: Python and send a file to REPL with CTRL+, , F and evertyhing works as long as I work on a single Python script file. As soon as I try to move some parts of my code to another module and import it in the main file, I get the nasty ImportError: No module named error. Trying to open a text file located in the same directory with: codecs.open('filename', encoding='utf-8') results in: IOError: [Errno 2] No such file or directory: 'filename' Did you investigate