Python open() gives FileNotFoundError/IOError: Errno 2 No such file or directory

前端 未结 5 1300
孤街浪徒
孤街浪徒 2020-11-22 06:24

For some reason my code is having trouble opening a simple file:

This is the code:

file1 = open(\'recentlyUpdated.yaml\')

And the erro

5条回答
  •  太阳男子
    2020-11-22 07:13

    If is VSCode see the workspace. If you are in other workspace this error can rise

提交回复
热议问题