How to handle FileNotFoundError when “try .. except IOError” does not catch it?

后端 未结 0 724
[愿得一人]
[愿得一人] 2021-02-11 18:43

How can I catch an error on python 3? I\'ve googled a lot but none of the answers seem to be working. The file open.txt doesn\'t exist so it should print e.errno.

This i

相关标签:
回答
  • 消灭零回复
提交回复
热议问题