https://www.zhihu.com/question/452286183/answer/1813718175?ivk_sa=1024320u

https://blog.csdn.net/kz2313456/article/details/115715192

方法1:

没那么麻烦,我也遇到了这种情况。
解决方法:
先打开vscode,左上角文件--打开文件夹--选择.py在的文件夹--在vscode左册的目录再打开.py--ok

方法2:

{ // Use IntelliSense to learn about possible attributes. // Hover to view descriptions of existing attributes. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ { "name": "Python: Current File", "type": "python", "request": "launch", "program": "${file}", "console": "integratedTerminal", } ] }



相关文章:

  • 2022-01-30
  • 2021-05-22
  • 2022-12-23
  • 2021-11-05
  • 2022-01-10
  • 2022-12-23
  • 2021-04-01
  • 2022-01-26
猜你喜欢
  • 2021-12-25
  • 2021-12-30
  • 2021-06-24
  • 2021-05-26
  • 2021-05-23
  • 2021-09-11
  • 2021-06-21
相关资源
相似解决方案