Visual Studio Code, customize / make your own code snippets
For tutorial: https://code.visualstudio.com/docs/editor/userdefinedsnippets#_create-your-own-snippets
Premade snippets for Python: https://github.com/microsoft/vscode-python/blob/2020.12.424452561/snippets/python.json