Find your current CL directory in Sublime Text 3 - AndrewMZ6/python_cheat_sheet GitHub Wiki

If you try to open the command line in ST3 using (Ctrl + `) and try display current dirrectory in it you'll get 0 or 1 instead.
To see the directory you actually want to do this:

import os
stream = os.popen('echo %cd%')
print(stream.read())