67055
以下のようにソースファイルを`c:\python>test.py`とcmdで指定して実行しました。[![画像の説明をここに入力](https://i.stack.imgur.com/TGAEP.jpg)](https://i.stack.imgur.com/TGAEP.jpg)

以前はそれでソースファイルが実行されたのですが、今はそうしても

```

    [main 2020-05-27T23:31:10.951Z] update#setState idle
    (node:5528) Electron: Loading non context-aware native modules in the renderer process is deprecated and will stop working at some point in the future, please see https://github.com/electron/electron/issues/18397 for more information
    (node:5528) Electron: Loading non context-aware native modules in the renderer process is deprecated and will stop working at some point in the future, please see https://github.com/electron/electron/issues/18397 for more information
    (node:5528) Electron: Loading non context-aware native modules in the renderer process is deprecated and will stop working at some point in the future, please see https://github.com/electron/electron/issues/18397 for more information
    (node:5528) Electron: Loading non context-aware native modules in the renderer process is deprecated and will stop working at some point in the future, please see https://github.com/electron/electron/issues/18397 for more information
    (node:5948) Electron: Loading non context-aware native modules in the renderer process is deprecated and will stop working at some point in the future, please see https://github.com/electron/electron/issues/18397 for more information
    (node:5948) Electron: Loading non context-aware native modules in the renderer process is deprecated and will stop working at some point in the future, please see https://github.com/electron/electron/issues/18397 for more information
    [main 2020-05-27T23:31:40.953Z] update#setState checking for updates
    [main 2020-05-27T23:32:02.847Z] update#setState idle
    
```

このような文字が出てVScodeでプログラムを開くだけになってしまいました。  
どうすれば以前のようにcmdでソースファイルを実行できるでしょうか？
CC BY-SA 4.0
2020-05-27T23:43:38.920
67054
2020-05-27T23:57:28.373
2020-05-27T23:57:28.373
3060
39488
question
python python3
コマンドプロンプトでソースファイルを実行しようとするとエディタが勝手に開く。
.py ファイルの関連付けを修正し、pythonに関連付けすればいいです
CC BY-SA 4.0
2020-05-27T23:55:28.030
67055
2020-05-27T23:55:28.030
27481
67054
answer