python中的异常捕获怎么用?

http://www.2cto.com/kf/201301/184121.html

http://www.w3cschool.cc/python/python-exceptions.html

try:   
    a=b   
    b=c   
except Exception,e:   #except后面加异常种类
    print Exception,":",e   
 
try: 
    a=b 
    b=c 
except Exception,e: 
    print Exception,":",e 
原文地址:https://www.cnblogs.com/Blaxon/p/4401894.html