There is no native Python "problemMatcher" for vscode tasks. Use the regexp
pattern to make it work for basic tasks.
"problemMatcher":
{
"fileLocation": "absolute",
"pattern": [
{
"regexp": "^\\s+File \"(.*)\", line (\\d+), in (.*)$",
"file": 1,
"line": 2
},
{
"regexp": "^\\s+(.*)$",
"message": 1
}
]
}