Python入门.错误处理
Python入门.异常处理
try: a=1/0 #除数不能是零 print a except: print 'Arithmetic exception'
try: a=1/0 #除数不能是零 print a except: print 'Arithmetic exception'