The Python snippets in VSCode had been disabled, so I have to restore it.

I was wondering why I couldn’t use snippets (completion) in VSCode when writing Python anymore, and I’d found the snippets were removed from Microsoft’s Python Extension in the January 2021 release.

Remove code snippets (you can copy the old snippets and use them as your own snippets). (#14781)

https://devblogs.microsoft.com/python/python-in-visual-studio-code-january-2021-release/

To bring it back, as written above, just copy the original old snippets to your own snippets, and you’re good to go.

For your own snippets, select “User Snippets” from the settings menu, and select python.json to open the edit screen for snippets.

Congratulations, it’s back!