py3中的异常

py3

try:
pass
except IOError as e:
pass
finally:
pass

py2

except IOError, e:

你可能感兴趣的:(py3中的异常)