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 阅读(2226) 评论(0) 编辑 收藏 举报
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 阅读(2226) 评论(0) 编辑 收藏 举报