This is the message that appears: Main is not defined
[{
"resource": "/C:/Users/ASUS ID/Python folders/Testing/.test.py",
"owner": "Pylance3",
"code": {
"value": "reportUndefinedVariable",
"target": {
"$mid": 1,
"path": "/microsoft/pylance-release/blob/main/docs/diagnostics/reportUndefinedVariable.md",
"scheme": "https",
"authority": "github.com"
}
},
"severity": 4,
"message": ""main" is not defined",
"source": "Pylance",
"startLineNumber": 2,
"startColumn": 5,
"endLineNumber": 2,
"endColumn": 9,
"modelVersionId": 19,
"origin": "extHost1"
}]
I'm new and trying to learn module packages, I used snippets for this
ctrl + shift + p > configure snippets > python.json and i typed this outside the curly brackets on a new line:
}
"Main": {
"prefix": "main",
"body": [
"if name == "main":",
"\t${1:pass}"
],
"description": "Insert main block"
}
what can i do to learn module and help this work?