【python】捕获所有异常时间:2021-04-28 00:20:12 如下所示,在不知道异常名的情况下可以捕获所有异常 try: a=b b=c except Exception,ex: print Exception,":",ex