zl程序教程

您现在的位置是:首页 >  后端

当前栏目

Vs code 下设置python tasks.json

PythonvscodeJSONJSON 设置 Tasks
2023-09-14 09:01:21 时间
{
	// See https://go.microsoft.com/fwlink/?LinkId=733558
	// for the documentation about the tasks.json format
	"version": "2.0.0",
	"tasks": [
		{
			"label": "python",
			"type": "shell",
			"command": "python",
			"args": [
				"${file}"
			],
			"presentation": {
				"reveal": "always",
				"panel": "shared"
			},
			"group": {
				"kind": "build",
				"isDefault": true
			},
			"options": {
				"env": {
					"PYTHONIOENCODING": "UTF-8"
				}
			}
		}
	]
}