Trouble opening files in python with VS Code

后端 未结 3 2072
情书的邮戳
情书的邮戳 2020-12-06 15:49

I can\'t seem to open basic text files when I run a python script in VS Code, the code runs fine when I use it in Idle but VSCode will give me a FileNotFound error, is there

3条回答
  •  感动是毒
    2020-12-06 16:30

    Try setting

    "python.terminal.executeInFileDir": true,

    in your VSCode Settings

提交回复
热议问题