python3 try except与python2的区别
python2的时候
try:
raise
except Exception, e:
print (e)
return false
python3的时候
try:
raise
except Exception as e:
print (e)
return false
posted on 2019-11-13 23:46 gentleman_hai 阅读(2239) 评论(0) 收藏 举报
浙公网安备 33010602011771号