Boilerplate for Python projects using Poetry and VS Code. To configure the correct Python interpreter in VS Code, first run this command:
poetry env info --path
Then use Python: Select Interpreter, choose "Enter interpreter path...", and paste in the output of the above command.