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