Enregistrez quels fichiers python run vscode, environnement python de configuration
1, le plugin python installer
2, il suffit de créer un fichier python
3, le profil python launch.json
4, les paramètres utilisateur add
Cliquez sur Fichier> Prefrences-> Paramètres, puis cliquez sur le coin supérieur droit, entrer en mode JSON, comme suit
5, ajouter python.pythonPath
6, exécuter le code
(1) La première façon: le triangle de coin supérieur droit
(2) fichier python droit Lancer dans un terminal