python2的时候
try:
raise
except Exception, e:
print (e)
return false
python3的时候
try:
raise
except Exception as e:
print (e)
return false
python2的时候
try:
raise
except Exception, e:
print (e)
return false
python3的时候
try:
raise
except Exception as e:
print (e)
return false
相关文章: