The quotes that are actually wrapping the content of the string are special, they shouldn’t be quoted. Only the quotes inside need to be quoted. JSON uses the same rules as Python does for strings, for example (except that in JSON, only "
can be used for strings, while Python allows "
and '
).
My recommendation would be to open the command palette and choose the command View Package File
, and then select the file Python/Python.sublime-build
to open a (read only) copy of the Python build system that ships with Sublime.
That’s a template for what the file is supposed to look like, so you can compare and contrast what you have to see what’s different to determine how to fix yours.
Since you seem to be only trying to specify the location of python
(instead of just adding it to the PATH
so that windows will find it and you could use the default), you can just copy the content out of this one into yours and then fix the first argument in cmd
to be what you want.
Remember that when you do that you need to specify something like C:\Python
as either C:\\Python
or (perhaps more readably) C:/Python
.