So I was working on a ST2 plugin, and needed to get the current path, so I did:
import os
os.getcwd()
I was surprised that it returned C:\Windows\System32 .. Instead I had to do something like:
import sublime
dir = sublime.packages_path()
package_path = os.path.join(dir, 'NAME_OF_YOUR_PACKAGE')
I'm looking for an explanation as to why the System32 path is returned.