When i do
C-c C-c on a python module, it leads to
*Python* buffer with Inferior Python : run Shell-Compile mode.
Suppose the correct cwd is
The problem is when I print
os.getcwd(), i get wrong cwd =
Due to this, modules from the same directory can not be imported.
But when i run
M-x run-python from the same module,
os.getcwd() is fine and modules can be imported.
Anyone knows what is happening here ?