Ways to Open a Command Palette
- Use Menu
Menu -> View -> Command Palette.... - Use the shortcut
Shift + Command + P(on macOS).

You can search for commands in the Command Palette, which makes things very convenient.
Run Tests or a Python File
- Open the Command Palette.
- Search for
Python: Runin the …