Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to run python program in sublime text 3 windows

{
    "target": "terminus_exec",
    "cancel": "terminus_cancel_build",
    
    "shell_cmd": "D:.python_venvsgeneral_pythonScriptspython.exe -u "$file"",
    "file_regex": "^[ ]*File "(...*?)", line ([0-9]*)",
    "selector": "source.python",

    "env": {"PYTHONIOENCODING": "utf-8"},

    "variants":
    [
        {
            "name": "Syntax Check",
            "shell_cmd": "D:.python_venvsgeneral_pythonScriptspython.exe -m py_compile "${file}"",
        }
    ]
}
Source by www.delftstack.com #
 
PREVIOUS NEXT
Tagged: #run #python #program #sublime #text #windows
ADD COMMENT
Topic
Name
8+8 =