Sublime Forum

Get (current) default path

#1

Hello again. If I use

fname_dict = open(fname + 'cmts', 'wb')

ST will save the file in either same folder as the currently open file, or the current projects’ folder, or ‘Program Files\Sublime Text 2’. How can I check where it is being saved to?

0 Likes

#2

Answering my own question :wink:

os.getcwd(), os.path.sep
0 Likes